Changeset 269

Show
Ignore:
Timestamp:
07/04/07 15:07:19 (1 year ago)
Author:
takkaria
Message:

Let main-x11 work again in text mode. (closes #180)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main-x11.c

    r232 r269  
    28462846 
    28472847 
    2848         /* Try the file */ 
    2849         path_build(filename, sizeof(filename), ANGBAND_DIR_XTRA, bitmap_file); 
    2850         if (!my_fexists(filename)) 
    2851         { 
    2852                 use_graphics = GRAPHICS_NONE; 
    2853                 use_transparency = FALSE; 
    2854                 ANGBAND_GRAF = 0; 
     2848        if (bitmap_file) 
     2849        { 
     2850                /* Try the file */ 
     2851                path_build(filename, sizeof(filename), ANGBAND_DIR_XTRA, bitmap_file); 
     2852                if (!my_fexists(filename)) 
     2853                { 
     2854                        use_graphics = GRAPHICS_NONE; 
     2855                        use_transparency = FALSE; 
     2856                        ANGBAND_GRAF = 0; 
     2857                } 
    28552858        } 
    28562859