shithub: tinyrend

Download patch

ref: 1a6a53ff7c3964604e2e41c0961aef4736ffb98a
parent: d9fc92f3d11360bbce2a5c853bfe21d5f76aaf1c
author: rodri <[email protected]>
date: Tue Jan 30 06:30:06 EST 2024

fix little typo.

--- a/main.c
+++ b/main.c
@@ -883,7 +883,7 @@
 	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)