Fixed cursor position bug when deleting top-left-most file in 'Open' dialog
This commit is contained in:
parent
16b3be9226
commit
6a6f300909
2 changed files with 16 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ bill@newbreedsoftware.com
|
||||||
http://www.newbreedsoftware.com/tuxpaint/
|
http://www.newbreedsoftware.com/tuxpaint/
|
||||||
|
|
||||||
|
|
||||||
2003.Sep.04 (0.9.13) [cvs]
|
2003.Sep.05 (0.9.13) [cvs]
|
||||||
* Fixed incorrect tag in HTML documentation. (Bad results in IE)
|
* Fixed incorrect tag in HTML documentation. (Bad results in IE)
|
||||||
|
|
||||||
* Fixed typo regarding "savedir" in README.
|
* Fixed typo regarding "savedir" in README.
|
||||||
|
|
@ -21,6 +21,10 @@ http://www.newbreedsoftware.com/tuxpaint/
|
||||||
* Reorganized usage display
|
* Reorganized usage display
|
||||||
(Suggested by Ben Armstrong)
|
(Suggested by Ben Armstrong)
|
||||||
|
|
||||||
|
* If the top-left-most file is deleted in the Open screen, it now
|
||||||
|
scrolls up one line (so that the cursor isn't off the top of the
|
||||||
|
screen!)
|
||||||
|
|
||||||
|
|
||||||
2003.Aug.18 (0.9.12)
|
2003.Aug.18 (0.9.12)
|
||||||
* Replaced "efont-serif" fonts with those from the 'ttf-freefont' package,
|
* Replaced "efont-serif" fonts with those from the 'ttf-freefont' package,
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
http://www.newbreedsoftware.com/tuxpaint/
|
http://www.newbreedsoftware.com/tuxpaint/
|
||||||
|
|
||||||
June 14, 2002 - September 4, 2003
|
June 14, 2002 - September 5, 2003
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define VER_VERSION "0.9.13"
|
#define VER_VERSION "0.9.13"
|
||||||
#define VER_DATE "2003.09.04"
|
#define VER_DATE "2003.09.05"
|
||||||
|
|
||||||
|
|
||||||
/* #define DEBUG */
|
/* #define DEBUG */
|
||||||
|
|
@ -9497,6 +9497,15 @@ int do_open(int want_new_tool)
|
||||||
|
|
||||||
if (which >= num_files)
|
if (which >= num_files)
|
||||||
which = num_files - 1;
|
which = num_files - 1;
|
||||||
|
|
||||||
|
|
||||||
|
/* Scroll up if the cursor goes off top of screen! */
|
||||||
|
|
||||||
|
if (which < cur && cur >= 4)
|
||||||
|
{
|
||||||
|
cur = cur - 4;
|
||||||
|
update_list = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* No files to open now? */
|
/* No files to open now? */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue