diff options
Diffstat (limited to 'source/blender/editors/space_info/textview.c')
-rw-r--r-- | source/blender/editors/space_info/textview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index 177b72567e5..5b461d8a518 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -245,8 +245,8 @@ int textview_draw(TextViewContext *tvc, int draw, int mval[2], void **mouse_pick cdc.console_width= (tvc->winx - (CONSOLE_DRAW_SCROLL + CONSOLE_DRAW_MARGIN*2) ) / cdc.cwidth; CLAMP(cdc.console_width, 1, INT_MAX); /* avoid divide by zero on small windows */ cdc.winx= tvc->winx-(CONSOLE_DRAW_MARGIN+CONSOLE_DRAW_SCROLL); - cdc.ymin= tvc->ymin; - cdc.ymax= tvc->ymax; + cdc.ymin = tvc->ymin; + cdc.ymax = tvc->ymax; cdc.xy= xy; cdc.sel= sel; cdc.pos_pick= pos_pick; |