summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6d21d07..4b95d4b 100644
--- a/main.c
+++ b/main.c
@@ -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)