lel

Fork of Hiltjo's Farbfeld image viewer. (It was just for fun, not much use)
Log | Files | Refs | README | LICENSE

commit 86dbf8bb491650f298810f6bb309b9c9ba005ac8
parent 004c587da6d73a7ce5b9cee7d867be3d45a4a139
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sun, 18 Apr 2021 01:44:10 -0700

Fix use of undefined variable

Diffstat:
Mconfig.mk | 3++-
Mlel.c | 1-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.mk b/config.mk @@ -17,7 +17,8 @@ LIBS = -L${X11LIB} -lX11 CPPFLAGS = -DVERSION=\"${VERSION}\" # debug -CFLAGS = -O0 -g -std=c99 -Wall -pedantic ${INCS} ${CPPFLAGS} +#CFLAGS = -O0 -g -std=c99 -Wall -pedantic ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -Wall -pedantic ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS} # optimized diff --git a/lel.c b/lel.c @@ -170,7 +170,6 @@ loadimg(void) die("can't read image\n"); reqwinwidth = cimg->width; reqwinheight = cimg->height; - wintitle = cimg->filename; } static void