[1mdiff --git a/res/about/version.gmi b/res/about/version.gmi[m
[1mindex 90ac14b4..e7c78e33 100644[m
[1m--- a/res/about/version.gmi[m
[1m+++ b/res/about/version.gmi[m
[36m@@ -9,6 +9,7 @@[m
[32m+[m[32m* Fixed TUI build.[m
[m
[1mdiff --git a/src/app.c b/src/app.c[m
[1mindex 5f5791bf..e5d4d036 100644[m
[1m--- a/src/app.c[m
[1m+++ b/src/app.c[m
[36m@@ -730,7 +730,7 @@[m [mstatic iBool loadState_App_(iApp *d) {[m
// printf("[State] '%.4s' split:%d state:%x\n", magic, splitMode, winState);[m
#if defined (iPlatformTerminal)[m
/* Terminal only supports one window. */[m
[31m- win = d->window;[m
[32m+[m[32m win = as_MainWindow(d->window);[m
#else[m
if (numWins == 1) {[m
win = as_MainWindow(d->window);[m
[36m@@ -4419,7 +4419,8 @@[m [miBool handleCommand_App(const char *cmd) {[m
iWidget *button = findUserData_Widget(findChild_Widget(dlg, "panel.top"), idPanel);[m
postCommand_Widget(button, "panel.open");[m
}[m
[31m- if (prefs_App()->detachedPrefs && deviceType_App() == desktop_AppDeviceType) {[m
[32m+[m[32m if (prefs_App()->detachedPrefs && deviceType_App() == desktop_AppDeviceType &&[m
[32m+[m[32m !isTerminal_Platform()) {[m
/* Detach into a window if it doesn't fit otherwise. */[m
promoteDialogToWindow_Widget(dlg);[m
}[m
[1mdiff --git a/src/ui/text_terminal.c b/src/ui/text_terminal.c[m
[1mindex 7106a0f6..9eff5d92 100644[m
[1m--- a/src/ui/text_terminal.c[m
[1m+++ b/src/ui/text_terminal.c[m
[36m@@ -206,6 +206,6 @@[m [mstatic float nextTabStop_Font_(const iFont *d, float x) {[m
[m
#include "text_simple.c"[m
[m
[31m-iRect run_Font(iBaseFont *font, const iRunArgs *args) {[m
[31m- return runSimple_Font_((iFont *) font, args);[m
[32m+[m[32mvoid run_Font(iBaseFont *font, const iRunArgs *args) {[m
[32m+[m[32m runSimple_Font_((iFont *) font, args);[m
}[m
text/plain
This content has been proxied by September (ba2dc).