[Freeciv-Dev] ten units bug (PR#826)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Full_Name: Daniel Speyer
Version: 1.12.0 Beta
Distribution: Built from source
Client: Gtk+
OS: GNU/Linux -- Mandrake 8.0
Submission from: (NULL) (24.2.150.207)
If you have precisely 10 units in a city, the scroll right button will become
active, even though there's nothing to scroll to. I think this should fix it
1637c1637
< size=plist->list.nelements/NUM_UNITS_SHOWN;
---
> size=(plist->list.nelements-1)/NUM_UNITS_SHOWN;
1709c1709
< size=plist->list.nelements/NUM_UNITS_SHOWN;
---
> size=(plist->list.nelements-1)/NUM_UNITS_SHOWN;
but I haven't done thorough testing.
--Daniel Speyer
"May the /src be with you, always"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] ten units bug (PR#826),
dspeyer <=
|
|