Commit MetaInfo

Revision902dab30ce1a01744f60ae6de346f15acbfc6440 (tree)
Time2020-09-23 00:33:51
AuthorSHIRAKATA Kentaro <argrath@ub32...>
CommiterSHIRAKATA Kentaro

Log Message

add missing "#ifdef X11LARGETILE"

Change Summary

Incremental Difference

--- a/win/X11/winmap.c
+++ b/win/X11/winmap.c
@@ -247,7 +247,7 @@ void
247247 post_process_tiles()
248248 {
249249 Display *dpy = XtDisplay(toplevel);
250-#if 0 /*JP*/
250+#ifndef X11LARGETILE
251251 unsigned int width, height;
252252
253253 if (tile_image == 0)
@@ -309,7 +309,7 @@ post_process_tiles()
309309 XpmFreeXpmImage(&tile_image);
310310 }
311311 # endif
312-#endif /*JP*/
312+#endif
313313
314314 init_annotation(&pet_annotation, appResources.pet_mark_bitmap,
315315 appResources.pet_mark_color);
@@ -369,7 +369,7 @@ struct xwindow *wp;
369369 attributes.valuemask = XpmCloseness;
370370 attributes.closeness = 25000;
371371
372-# if 0 /*JP*/
372+# ifndef X11LARGETILE
373373 errorcode = XpmReadFileToImage(dpy, appResources.tile_file, &tile_image,
374374 0, &attributes);
375375 # else
@@ -377,7 +377,7 @@ struct xwindow *wp;
377377 NULL);
378378 # endif
379379
380-# if 0 /*JP*/
380+# ifndef X11LARGETILE
381381 if (errorcode == XpmColorFailed) {
382382 Sprintf(buf, "Insufficient colors available to load %s.",
383383 appResources.tile_file);
Show on old repository browser