]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tui/tui-hooks.c
* tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction
[thirdparty/binutils-gdb.git] / gdb / tui / tui-hooks.c
index 48eeeda924013cae1d33ccf031511af0846e2fe3..d6051942a23f4566b19911a89dca1aa828587588 100644 (file)
@@ -71,9 +71,7 @@ static void
 tui_new_objfile_hook (struct objfile* objfile)
 {
   if (tui_active)
-    {
-      tuiDisplayMainFunction ();
-    }
+    tui_display_main ();
   
   if (tui_target_new_objfile_chain)
     tui_target_new_objfile_chain (objfile);