Files
nixpkgs/pkgs/by-name/st/stardust/pointer-fix.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
380 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/src/obj.c b/src/obj.c
index 66d528b..ab08a4f 100644
--- a/src/obj.c
+++ b/src/obj.c
@@ -183,7 +183,7 @@ static short intnpar(char *line, int mode, struct face *face) {
*/
#define ALLOC_MORE 100
GLuint obj_load(Obj *object, const char *obj_file) {
- gzFile *gzp = NULL;
+ gzFile gzp = NULL;
char line[1024], command[1024];
char filename_mtl[256] = "\0";