diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-27 16:07:46 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-27 16:07:46 +0000 |
commit | b448fb04a0ba6029d785ea6a5a1f604ea918c957 (patch) | |
tree | b4de9d09fcc3a46b5cf29646ce607a72296bfa75 /src | |
parent | c2c1b493b04efc78ecefa8f8266cc0c5610ff256 (diff) | |
download | mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.tar.gz mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.tar.bz2 mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.tar.xz mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.zip |
Auto detect keyboard WIN32
Diffstat (limited to 'src')
-rw-r--r-- | src/graphic/graphic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 397a37d2..812eb615 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -179,8 +179,9 @@ int get_y_offset(NODE *node) { BITMAP *load_graphic_file(char *filename) { BITMAP *temp = load_bitmap(filename, NULL); if(!temp)error(filename); + BITMAP *vbmp; #ifdef WIN32 - BITMAP *vbmp = create_video_bitmap(temp->w, temp->h); + vbmp = create_video_bitmap(temp->w, temp->h); if(!vbmp) { warning("Not enough video memory"); #endif |