Revision | 902dab30ce1a01744f60ae6de346f15acbfc6440 (tree) |
---|---|
Time | 2020-09-23 00:33:51 |
Author | SHIRAKATA Kentaro <argrath@ub32...> |
Commiter | SHIRAKATA Kentaro |
add missing "#ifdef X11LARGETILE"
@@ -247,7 +247,7 @@ void | ||
247 | 247 | post_process_tiles() |
248 | 248 | { |
249 | 249 | Display *dpy = XtDisplay(toplevel); |
250 | -#if 0 /*JP*/ | |
250 | +#ifndef X11LARGETILE | |
251 | 251 | unsigned int width, height; |
252 | 252 | |
253 | 253 | if (tile_image == 0) |
@@ -309,7 +309,7 @@ post_process_tiles() | ||
309 | 309 | XpmFreeXpmImage(&tile_image); |
310 | 310 | } |
311 | 311 | # endif |
312 | -#endif /*JP*/ | |
312 | +#endif | |
313 | 313 | |
314 | 314 | init_annotation(&pet_annotation, appResources.pet_mark_bitmap, |
315 | 315 | appResources.pet_mark_color); |
@@ -369,7 +369,7 @@ struct xwindow *wp; | ||
369 | 369 | attributes.valuemask = XpmCloseness; |
370 | 370 | attributes.closeness = 25000; |
371 | 371 | |
372 | -# if 0 /*JP*/ | |
372 | +# ifndef X11LARGETILE | |
373 | 373 | errorcode = XpmReadFileToImage(dpy, appResources.tile_file, &tile_image, |
374 | 374 | 0, &attributes); |
375 | 375 | # else |
@@ -377,7 +377,7 @@ struct xwindow *wp; | ||
377 | 377 | NULL); |
378 | 378 | # endif |
379 | 379 | |
380 | -# if 0 /*JP*/ | |
380 | +# ifndef X11LARGETILE | |
381 | 381 | if (errorcode == XpmColorFailed) { |
382 | 382 | Sprintf(buf, "Insufficient colors available to load %s.", |
383 | 383 | appResources.tile_file); |