diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-rpg/gwiz/files/gwiz-0.8-buffer.patch | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/gwiz/files/gwiz-0.8-buffer.patch')
-rw-r--r-- | games-rpg/gwiz/files/gwiz-0.8-buffer.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/games-rpg/gwiz/files/gwiz-0.8-buffer.patch b/games-rpg/gwiz/files/gwiz-0.8-buffer.patch deleted file mode 100644 index 44ee9aec15fb..000000000000 --- a/games-rpg/gwiz/files/gwiz-0.8-buffer.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/src/equip.c -+++ b/src/equip.c -@@ -120,7 +120,7 @@ - return (i); - - /* if we get this far, there are no equippable items before the current */ -- for (i = 8; i > offset; i--) -+ for (i = 7; i > offset; i--) - if (pawn->item[i].usage & USAGE_EQUIPPABLE) - return (i); - return (-1); ---- a/src/shop.c -+++ b/src/shop.c -@@ -290,8 +290,7 @@ - - SDL_BlitSurface (name, NULL, area, &dest); - -- snprintf (price, sizeof(char)*8, "%d", pawn->item[i].sellfor); -- price[9] = '\0'; -+ snprintf (price, sizeof(price), "%d", pawn->item[i].sellfor); - profit = GwizRenderText (price); - dest.x = area->w - profit->w; - dest.w = profit->w; |