summaryrefslogtreecommitdiff
path: root/new/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/test.c')
-rw-r--r--new/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/new/test.c b/new/test.c
index 6d43afb..e63ed89 100644
--- a/new/test.c
+++ b/new/test.c
@@ -102,7 +102,8 @@ static void showSpaced(uiControl *c, void *data)
{
char msg[] = { 'm', ' ', '0', ' ', 'p', ' ', '0', '\0' };
- // TODO margined
+ if (uiWindowMargined(w))
+ msg[2] = '1';
if (uiStackPadded(stacks[0]))
msg[6] = '1';
uiEntrySetText(e, msg);