diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-12-19 17:21:34 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-12-19 17:21:34 +0000 |
commit | a432321fb91bc0afbe802878fcd45adcee946a5b (patch) | |
tree | 6222ae0392064cc0250d41bc89bfc14b38892395 /src/gui/gui.cpp | |
parent | dd06564ec071884d1980d74c96dc136fc6205e19 (diff) | |
download | mana-client-a432321fb91bc0afbe802878fcd45adcee946a5b.tar.gz mana-client-a432321fb91bc0afbe802878fcd45adcee946a5b.tar.bz2 mana-client-a432321fb91bc0afbe802878fcd45adcee946a5b.tar.xz mana-client-a432321fb91bc0afbe802878fcd45adcee946a5b.zip |
killed a few warnings about depcrated functions. mostly textprintf
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 270cbb5e..49bf35e3 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1120,9 +1120,9 @@ int tmw_dialog_proc(int msg, DIALOG *d, int c) { } draw_skinned_rect(gui_bitmap, &gui_skin.dialog.bg, d->x, d->y, d->w, d->h); rtm = text_mode(-1); - textprintf_centre(gui_bitmap, font, + textprintf_centre_ex(gui_bitmap, font, d->x + d->w/2, - d->y + (gui_skin.dialog.bg.grid[1]->h - text_height(font))/2, d->fg, "%s", d->dp); + d->y + (gui_skin.dialog.bg.grid[1]->h - text_height(font))/2, d->fg, -1, "%s", d->dp); text_mode(rtm); break; } |