Changeset 32997


Ignore:
Timestamp:
02/14/15 23:09:23 (8 years ago)
Author:
aafsvn
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/softcam.h

    r32994 r32997  
    414414                        char* extract = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *tmpstr3 = NULL, *cmd = NULL;
    415415
    416                         tmpstr = string_quote(listbox->select->name);
     416                        tmpstr = ostrcat(listbox->select->name, NULL, 0, 0);
     417
    417418                        string_tolower(tmpstr);
    418                        
     419                        tmpstr = stringreplacecharonce(tmpstr, '-', '\0');
     420                        tmpstr = stringreplacecharonce(tmpstr, '_', '\0');
     421                        tmpstr = stringreplacecharonce(tmpstr, '.', '\0');
     422
    419423                        if(listbox->select->name == NULL)
    420424                        {
Note: See TracChangeset for help on using the changeset viewer.