Ignore:
Timestamp:
Jan 7, 2007, 6:21:31 PM (19 years ago)
Author:
cinc
Message:

Fix for queryPathBegin() in NOMPath which did nothing...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/foundation/class_c/nomfilepath.c

    r180 r181  
    192192  PNOMPath nomRetval=NOMPathNew();
    193193  gchar *chrTemp;
    194 
    195   chrTemp=NOMPath_copyCString(nomSelf, NULLHANDLE); /* This is a copy */
     194  gchar *chrTemp2;
     195
     196  chrTemp2 = chrTemp = NOMPath_copyCString(nomSelf, NULLHANDLE); /* This is a copy */
    196197
    197198  while(*chrTemp!='\0' && *chrTemp!=G_DIR_SEPARATOR)
     
    199200  *chrTemp='\0';
    200201
    201   nomRetval=(PNOMPath)NOMPath_assignCString(nomRetval, chrTemp, NULLHANDLE);
     202  nomRetval=(PNOMPath)NOMPath_assignCString(nomRetval, chrTemp2, NULLHANDLE);
    202203
    203204  g_free(chrTemp);
Note: See TracChangeset for help on using the changeset viewer.