This commit is contained in:
p.kosyh 2010-10-12 11:09:48 +00:00
parent 35cfad64c1
commit 0a7e14a21c
3 changed files with 7 additions and 2049 deletions

View file

@ -291,7 +291,9 @@ static int game_theme_scale(int w, int h)
t->menu_font_size *= v;
t->menu_button_x *= v; t->menu_button_x += xoff;
t->menu_button_y *= v; t->menu_button_y += yoff;
t->cur_x *= v;
t->cur_y *= v;
t->scale = v;
t->xoff = xoff;
t->yoff = yoff;

View file

@ -267,6 +267,10 @@ int parse_full_path(const char *v, void *data)
char **p = ((char **)data);
if (*p)
free(*p);
if (!v[0]) {
*p = strdup("");
return (*p)?0:-1;
}
getdir(cwd, sizeof(cwd));
*p = malloc(strlen(v) + strlen(cwd) + 2);
if (!*p)

File diff suppressed because it is too large Load diff