[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Wed Jul 28 17:46:54 CEST 2004


CVS commit by netterfield: 

Cast


  M +2 -2      kstlabel.cpp   1.37


--- kdeextragear-2/kst/kst/kstlabel.cpp  #1.36:1.37
@@ -398,5 +398,5 @@ void KstLabel::draw(QPainter &p, int px,
             // New Line here
             if ( n_cr == 0 ) {
-              v_offset = ( y-y_upper );
+              v_offset = int( y-y_upper );
             }
             n_cr++;
@@ -480,5 +480,5 @@ void KstLabel::draw(QPainter &p, int px,
   if ( n_cr==0 ) {
     v_offset = (int)(y - y_upper);
-  }
+  } // else it has already set
 
   if( Rotation == 0.0 ) {





More information about the Kst mailing list