Changeset 8348

Show
Ignore:
Timestamp:
30/01/12 17:47:48 (4 months ago)
Author:
westram
Message:
  • fixed wrong comments
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/e4fix/EDIT4/ED4_no_class.cxx

    r8345 r8348  
    466466        - (rect.r - x); // minus width of visible scroll-area (== relative width of horizontal scrollbar) 
    467467 
    468     if (max_xpos<0) max_xpos = 0; // happens when window-content is smaller than window (e.g. if ARB_EDIT4 is not filled) 
     468    if (max_xpos<0) max_xpos = 0; // happens when window-content is smaller than window (e.g. if (folded) alignment is narrow) 
    469469    return int(max_xpos+0.5); 
    470470} 
     
    477477    vertical_link->calc_world_coords(&x, &y); 
    478478 
    479     AW_pos max_ypos = vertical_link->extension.size[HEIGHT] // overall width of virtual scrolling area 
    480         - (rect.b - y); // minus width of visible scroll-area (== relative width of horizontal scrollbar) 
     479    AW_pos max_ypos = vertical_link->extension.size[HEIGHT] // overall height of virtual scrolling area 
     480        - (rect.b - y); // minus height of visible scroll-area (== relative height of vertical scrollbar) 
    481481 
    482482    if (max_ypos<0) max_ypos = 0; // happens when window-content is smaller than window (e.g. if ARB_EDIT4 is not filled)