ref: 141bdb3dee04048a493e5bfca93979ce1f1c9462
parent: b3c6ae6278b31cf386315f4c13e357071b3dc8d5
author: sirjofri <[email protected]>
date: Sun Sep 1 09:58:47 EDT 2024
fixes nil reference bug
--- a/winview.c
+++ b/winview.c
@@ -255,9 +255,10 @@
Point coords;
Rectangle textbox;
- winname = strdup(getwinname(dir->name));
+ winname = getwinname(dir->name);
if (!winname)
return 0;
+ winname = strdup(winname);
if (issamewin(winname))
return 0;