summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 0f989133..8e4e2752 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -944,7 +944,7 @@ static void updateWindowTitle_DocumentWidget_(const iDocumentWidget *d) {
944 pushBackCStr_StringArray(title, "Lagrange"); 944 pushBackCStr_StringArray(title, "Lagrange");
945 } 945 }
946 /* Take away parts if it doesn't fit. */ 946 /* Take away parts if it doesn't fit. */
947 const int avail = bounds_Widget(as_Widget(tabButton)).size.x - 3 * gap_UI; 947 const int avail = bounds_Widget(as_Widget(tabButton)).size.x - 7 * gap_UI;
948 iBool setWindow = (document_App() == d && isUnderKeyRoot_Widget(d)); 948 iBool setWindow = (document_App() == d && isUnderKeyRoot_Widget(d));
949 const int font = uiLabel_FontId; 949 const int font = uiLabel_FontId;
950 for (;;) { 950 for (;;) {