From 1a6a53ff7c3964604e2e41c0961aef4736ffb98a Mon Sep 17 00:00:00 2001 From: rodri Date: Tue, 30 Jan 2024 11:30:06 +0000 Subject: fix little typo. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3