summaryrefslogtreecommitdiff
path: root/graphics/imlib/files/patch-ab
blob: 9c8b8b560b8cfc3ebba768f26d565373376a2809 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- load.c.orig	Wed Nov  5 20:10:50 1997
+++ load.c	Wed Nov 12 18:00:19 1997
@@ -159,8 +159,8 @@
 	     if (needs_conv) pclose(p);
 	     else fclose(p);
 	  }
-	if (!strcasecmp(s,"jpeg")) sprintf(cmd,"%s/djpeg %s", NETPBM_PATH, fil);
-	else if (!strcasecmp(s,"jpg")) sprintf(cmd,"%s/djpeg %s", NETPBM_PATH, fil);
+	if (!strcasecmp(s,"jpeg")) sprintf(cmd,"%s/djpeg %s", JPEG_PATH, fil);
+	else if (!strcasecmp(s,"jpg")) sprintf(cmd,"%s/djpeg %s", JPEG_PATH, fil);
 	else if (!strcasecmp(s,"bmp")) sprintf(cmd,"%s/bmptoppm %s", NETPBM_PATH, fil);
 	else if (!strcasecmp(s,"ilbm")) sprintf(cmd,"%s/ilbmtoppm %s", NETPBM_PATH, fil);
 	else if (!strcasecmp(s,"ilb")) sprintf(cmd,"%s/ilbmtoppm %s", NETPBM_PATH, fil);