mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-02 08:25:03 +03:00
* view.c (display): Removed the call to the empty macros
view_freeze() and view_thaw(). Deleted these macros, as they are otherwise unused.
This commit is contained in:
parent
021e1cb48e
commit
2d8721c745
@ -18,6 +18,9 @@
|
||||
expansion. They looked like variables, which was irritating.
|
||||
* view.c (view_get_datacolumns): Added. Replaced equivalent
|
||||
expressions to call this function.
|
||||
* view.c (display): Removed the call to the empty macros
|
||||
view_freeze() and view_thaw(). Deleted these macros, as they
|
||||
are otherwise unused.
|
||||
|
||||
2005-04-14 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
|
@ -793,9 +793,6 @@ view_display_clean (WView *view, int height, int width)
|
||||
#define view_add_string(view,s) addstr (s)
|
||||
#define view_gotoyx(v,r,c) widget_move (v,r,c)
|
||||
|
||||
#define view_freeze(view)
|
||||
#define view_thaw(view)
|
||||
|
||||
typedef enum {
|
||||
MARK_NORMAL = 0,
|
||||
MARK_SELECTED = 1,
|
||||
@ -831,7 +828,6 @@ display (WView *view)
|
||||
from = view->dpy_text_start;
|
||||
attrset (NORMAL_COLOR);
|
||||
|
||||
view_freeze (view);
|
||||
view_display_clean (view, height, width);
|
||||
|
||||
/* Optionally, display a ruler */
|
||||
@ -1071,7 +1067,6 @@ display (WView *view)
|
||||
}
|
||||
}
|
||||
view->last = from;
|
||||
view_thaw (view);
|
||||
return from;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user