diff --git a/src/graphics/mylib.c b/src/graphics/mylib.c
index 7443a5b7b5ecc509adf5dc0a9567b80ca1e1487a..70258df8bab5d49e847ebe8d4b15e724ff31023f 100644
--- a/src/graphics/mylib.c
+++ b/src/graphics/mylib.c
@@ -440,10 +440,9 @@ void DisplayInitialize()
     char *getenv();
 #endif  /* HIRES */
     char *ep;
-    int nc_text_in_window;
     char * m_usrfont;
 
-    if (nc_text_in_window == 1 && (ep = getenv("AUTORAISE")) != NULL) {
+    if (ep = getenv("AUTORAISE") != NULL) {
       if (strcicmp(ep, "true") == 0)
         m_autoraise = true;
       else if (strcicmp(ep, "false") == 0)