diff options
author | Michael Jennings <mej@kainx.org> | 2002-05-04 15:12:59 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2002-05-04 15:12:59 +0000 |
commit | 6f6ebe924f2ce4cf69555be1f84f0f1fe2c18fa8 (patch) | |
tree | 2bfff795f7f201587687779adfe401878b631a49 /src | |
parent | 92ca20bcba0968a7597af4ab19dacf19741ccdfc (diff) | |
download | eterm-6f6ebe924f2ce4cf69555be1f84f0f1fe2c18fa8.tar.gz |
Sat May 4 11:12:19 2002 Michael Jennings (mej)
Added a --enable-escreen option for those who wish to try it out.
Also fixed the compile with Escreen and profiling are both enabled,
and disabled Escreen debugging.
SVN revision: 6203
Diffstat (limited to 'src')
-rw-r--r-- | src/screamcfg.h | 2 | ||||
-rw-r--r-- | src/screen.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/screamcfg.h b/src/screamcfg.h index c5d20f9..404d4f2 100644 --- a/src/screamcfg.h +++ b/src/screamcfg.h @@ -16,7 +16,7 @@ #define NS_PARANOID /* define NS_DEBUG to get debug-info. no support for those who undef this. */ -#define NS_DEBUG +#undef NS_DEBUG /* debug memory stuff. never actually used this. */ #undef NS_DEBUG_MEM diff --git a/src/screen.c b/src/screen.c index cc2ba36..364965f 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1630,13 +1630,13 @@ scr_refresh(int type) #endif int ascent, descent; + PROF_INIT(scr_refresh); + #ifdef ESCREEN if (TermWin.screen_mode) nrows--; #endif - PROF_INIT(scr_refresh); - switch (type) { case NO_REFRESH: D_SCREEN(("scr_refresh(NO_REFRESH) called.\n")); |