mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 22:25:48 +01:00
Fixed some problems in 0.60.0
This commit is contained in:
@@ -10,7 +10,7 @@ bin_SCRIPTS = wmaker.inst wm-oldmenu2new wsetfont wkdemenu.pl
|
||||
EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wsetfont directjpeg.c \
|
||||
wkdemenu.pl
|
||||
|
||||
INCLUDES = @DFLAGS@ -I$(top_srcdir)/wrlib @HEADER_SEARCH_PATH@
|
||||
INCLUDES = @DFLAGS@ -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib @HEADER_SEARCH_PATH@
|
||||
|
||||
# X_EXTRA_LIBS is for libproplist in systems that need -lsocket
|
||||
liblist= @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
|
||||
|
||||
@@ -101,7 +101,7 @@ bin_SCRIPTS = wmaker.inst wm-oldmenu2new wsetfont wkdemenu.pl
|
||||
EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wsetfont directjpeg.c wkdemenu.pl
|
||||
|
||||
|
||||
INCLUDES = @DFLAGS@ -I$(top_srcdir)/wrlib @HEADER_SEARCH_PATH@
|
||||
INCLUDES = @DFLAGS@ -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib @HEADER_SEARCH_PATH@
|
||||
|
||||
# X_EXTRA_LIBS is for libproplist in systems that need -lsocket
|
||||
liblist = @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
|
||||
|
||||
@@ -374,7 +374,6 @@ main(int argc, char **argv)
|
||||
int i;
|
||||
int ignoreCount = 0;
|
||||
char *ignoreList[MAX_OPTIONS];
|
||||
int format = 0;
|
||||
|
||||
dpy = XOpenDisplay("");
|
||||
|
||||
|
||||
@@ -46,9 +46,8 @@
|
||||
|
||||
#include "../src/wconfig.h"
|
||||
|
||||
#include "../WINGs/WINGs.h"
|
||||
#include "../WINGs/WUtil.h"
|
||||
#include "../wrlib/wraster.h"
|
||||
#include <WINGs.h>
|
||||
#include <wraster.h>
|
||||
|
||||
#include <proplist.h>
|
||||
|
||||
@@ -529,7 +528,6 @@ parseTexture(RContext *rc, char *text)
|
||||
|
||||
image = loadImage(rc, file);
|
||||
if (!image) {
|
||||
RDestroyImage(gradient);
|
||||
goto error;
|
||||
}
|
||||
|
||||
@@ -557,7 +555,8 @@ parseTexture(RContext *rc, char *text)
|
||||
if (!gradient) {
|
||||
wwarning("could not render texture:%s",
|
||||
RMessageForError(RErrorCode));
|
||||
RDestroyImage(gradient);
|
||||
RDestroyImage(gradient);
|
||||
RDestroyImage(image);
|
||||
goto error;
|
||||
}
|
||||
|
||||
@@ -577,7 +576,7 @@ parseTexture(RContext *rc, char *text)
|
||||
if (!RConvertImage(rc, tiled, &pixmap)) {
|
||||
wwarning("could not convert texture:%s",
|
||||
RMessageForError(RErrorCode));
|
||||
RDestroyImage(image);
|
||||
RDestroyImage(tiled);
|
||||
goto error;
|
||||
}
|
||||
texture->width = tiled->width;
|
||||
|
||||
Reference in New Issue
Block a user