Changeset 8099357


Ignore:
Timestamp:
Mar 2, 2010, 9:14:44 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b3adfb5
Parents:
b928b3a
git-author:
David Benjamin <davidben@mit.edu> (10/30/09 16:27:05)
git-committer:
David Benjamin <davidben@mit.edu> (03/02/10 21:14:44)
Message:
Remove some mentions of global windows from main

Sadly, we can't kill sepwin and typwin yet, as they're needed for
placing the text cursor.

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    rb928b3a r8099357  
    469469int main(int argc, char **argv, char **env)
    470470{
    471   WINDOW *recwin, *sepwin, *typwin, *msgwin;
    472   owl_editwin *tw;
    473   owl_popwin *pw;
     471  WINDOW *sepwin, *typwin;
    474472  int argcsave;
    475473  const char *const *argvsave;
     
    565563  perlout = owl_perlconfig_execute("BarnOwl::Hooks::_startup();");
    566564  if (perlout) owl_free(perlout);
    567 
    568   /* hold on to the window names for convenience */
    569   msgwin=owl_global_get_curs_msgwin(&g);
    570   recwin=owl_global_get_curs_recwin(&g);
    571   sepwin=owl_global_get_curs_sepwin(&g);
    572   typwin=owl_global_get_curs_typwin(&g);
    573   tw=owl_global_get_typwin(&g);
    574565
    575566  /* welcome message */
     
    629620
    630621    /* these are here in case a resize changes the windows */
    631     msgwin=owl_global_get_curs_msgwin(&g);
    632     recwin=owl_global_get_curs_recwin(&g);
    633622    sepwin=owl_global_get_curs_sepwin(&g);
    634623    typwin=owl_global_get_curs_typwin(&g);
Note: See TracChangeset for help on using the changeset viewer.