diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -883,7 +883,7 @@ threadmain(int argc, char *argv[]) if((model = objparse(mdlpath)) == nil) sysfatal("objparse: %r"); if(texpath != nil){ - if((p = strrchr(texpath, '\\')) == nil) + if((p = strrchr(texpath, '/')) == nil) p = texpath; p = strchr(p, '.'); if(p == nil) |