aboutsummaryrefslogtreecommitdiff
path: root/brlan.c
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-03-15 22:09:43 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-03-15 22:09:43 -0500
commita3b95e6bc9a413e2b21ec8a0fa9b7e219d13a671 (patch)
tree2c2b50c396f5bf013ea045f9cb897040b880c50b /brlan.c
parentba9efb33e44ba5babce04cde6e0e9ff3d54fe89c (diff)
fixed tpl name offset
Diffstat (limited to 'brlan.c')
-rw-r--r--brlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/brlan.c b/brlan.c
index 07fad15..79f2fb4 100644
--- a/brlan.c
+++ b/brlan.c
@@ -343,7 +343,7 @@ void parse_brlan(char* filename)
int z = tableoff + be32(curr_timg_off);
dbgprintf("z %08x\n", z);
int o;
- for(o = 0; brlan_file[z] != 0; z++, timgname[o++] = brlan_file[z]);
+ for(o = 0; brlan_file[z] != 0; z++, timgname[o++] = brlan_file[z-1]);
#ifndef OLD_BRLAN_OUTSTYLE
printf("\t<timg name=\"%s\" />\n", timgname);
#else