Change functions to macros (when compiling without zoom).

SVN revision: 50352
This commit is contained in:
Kim Woelders 2010-07-18 18:52:56 +00:00
parent c24755d012
commit d99aa08fe0
2 changed files with 6 additions and 15 deletions

View File

@ -476,7 +476,12 @@ int EwinListStackIsRaised(const EWin * ewin);
#define EwinListGetAll EwinListStackGet
/* zoom.c */
#if WITH_ZOOM
void Zoom(EWin * ewin, int on);
void ReZoom(EWin * ewin);
#else
#define ReZoom(ewin) do {} while(0)
#define Zoom(ewin, on) do {} while(0)
#endif
#endif /* _EWIN_H_ */

View File

@ -265,18 +265,4 @@ Zoom(EWin * ewin, int on)
}
}
#else
void
ReZoom(EWin * ewin)
{
ewin = NULL;
}
void
Zoom(EWin * ewin)
{
ewin = NULL;
}
#endif
#endif /* WITH_ZOOM */