updated for version 7.0f04
diff --git a/src/screen.c b/src/screen.c
index c293de1..8c52aad 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -463,6 +463,12 @@
 		))
 	curwin->w_redr_type = type;
 
+#ifdef FEAT_WINDOWS
+    /* Redraw the tab pages line if needed. */
+    if (redraw_tabline || type >= NOT_VALID)
+	draw_tabline();
+#endif
+
 #ifdef FEAT_SYN_HL
     /*
      * Correct stored syntax highlighting info for changes in each displayed
@@ -490,12 +496,6 @@
     }
 #endif
 
-#ifdef FEAT_WINDOWS
-    /* Redraw the tab pages line if needed. */
-    if (redraw_tabline || type >= NOT_VALID)
-	draw_tabline();
-#endif
-
     /*
      * Go from top to bottom through the windows, redrawing the ones that need
      * it.