Fixed: Fix of y-Labels


git-svn-id: file:///home/jan/tmp/wetterstation/trunk@107 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
losinshi 2006-09-18 09:59:10 +00:00
parent 63cc03cecf
commit 39bc78d665
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ label_list_ptr get_y_label_list(int c_hight, int padding){
* daher den Zaehler um eins erhöhen und wenn dabei ueber
* den Bereich hinaus, dann wieder eins runter */
num++;
if (((temp + (num - 1)) * interval) > (real_max - 1))
if ((temp + ((num - 1) * interval)) > (real_max - 1))
num--;
/* Puffer fuer die Labels */