Package: xpp
Version: 1.5-cvs20050828-1.2
Severity: normal
Tags: patch

Hello,

The following patch has been applied in Ubuntu quite a while ago.
I'm submitting it for possible inclusion in Debian package.

Description: fixed missing options after slider is drawn
Author: Klaus Singvogel <kssin...@suse.de>
diff -u xpp-1.5-cvs20050828/xpp.cxx xpp-1.5-cvs20050828/xpp.cxx
--- xpp-1.5-cvs20050828/xpp.cxx
+++ xpp-1.5-cvs20050828/xpp.cxx
@@ -1759,7 +1759,7 @@
            if (special_option->type == 0) {
              // option is integer, make sure that only integer values
              // can be adjusted
-             k = (int)(special_option->max) - (int)(special_option->min);
+             int k = (int)(special_option->max) - (int)(special_option->min);
              // Max. 260 steps on full length of scrollbar (1 step >= 1 
              // pixel)
              if (k <= 260) {


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-15-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to