OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca16f4
)
Hengband.INI内に保存されたタイル幅、高さが反映されない不具合を修正。 / Fix the trouble, no-applied width and...
author
Deskull
<desull@users.sourceforge.jp>
Sun, 21 Dec 2014 15:58:42 +0000
(
00:58
+0900)
committer
Deskull
<desull@users.sourceforge.jp>
Sun, 21 Dec 2014 15:58:42 +0000
(
00:58
+0900)
src/main-win.c
patch
|
blob
|
history
diff --git
a/src/main-win.c
b/src/main-win.c
index
22c263f
..
8a8edb4
100644
(file)
--- a/
src/main-win.c
+++ b/
src/main-win.c
@@
-3376,8
+3376,8
@@
static void init_windows(void)
td->lf.lfPitchAndFamily = FIXED_PITCH | FF_DONTCARE;
/* Activate the chosen font */
term_force_font(td, NULL);
- td->tile_wid = td->font_wid;
- td->tile_hgt = td->font_hgt;
+
if(!td->tile_wid)
td->tile_wid = td->font_wid;
+
if(!td->tile_hgt)
td->tile_hgt = td->font_hgt;
#else
/* Access the standard font file */
path_build(buf, sizeof(buf), ANGBAND_DIR_XTRA_FONT, td->font_want);