src/file.cpp

changeset 235
bb0a7bcca7eb
parent 234
79b120b0aa51
child 236
b58d35dc5d52
equal deleted inserted replaced
234:79b120b0aa51 235:bb0a7bcca7eb
131 break; 131 break;
132 132
133 if (lastpos < (log) path.len () - 1) 133 if (lastpos < (log) path.len () - 1)
134 return path.substr (lastpos + 1, -1); 134 return path.substr (lastpos + 1, -1);
135 135
136 return ""; 136 return path;
137 } 137 }
138 138
139 // ============================================================================= 139 // =============================================================================
140 FILE* openLDrawFile (str relpath, bool subdirs) { 140 FILE* openLDrawFile (str relpath, bool subdirs) {
141 printf ("%s: Try to open %s\n", __func__, relpath.c ()); 141 printf ("%s: Try to open %s\n", __func__, relpath.c ());

mercurial