1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/games/vultures-eye/files/patch-win__vulture__winclass__scrollwin.cpp
Vanilla I. Shu 546d426572 Update to version 2.3.67.
PR:		ports/193035
Submitted by:	Ports Fury.
2014-08-28 03:05:05 +00:00

19 lines
591 B
C++

--- win/vulture/winclass/scrollwin.cpp.orig
+++ win/vulture/winclass/scrollwin.cpp
@@ -122,13 +122,12 @@
void scrollwin::layout(void)
{
window *winelem, *coltxt;
- int i, elem_maxwidth, saved_scrollpos, height;
+ int i, elem_maxwidth, height;
int colwidths[8] = {0, 0, 0, 0, 0, 0, 0, 0};
int colstart[8] = {0, 0, 0, 0, 0, 0, 0, 0};
- std::string txt, orig_caption;
+ std::string txt, orig_caption;
bool done = false;
elem_maxwidth = height = 0;
- saved_scrollpos = scrollpos;
size_t prevpos, pos;
/* must not re-layout an already layouted scrollarea, as that would mangle