ref: b1e84a59c5c100e9aa5c31eb39d58e174289249d
parent: 0a4745da16ef9463d5fa01eedd7778dcca039288
author: Sigrid Haflínudóttir <[email protected]>
date: Mon Dec 30 07:55:38 EST 2019
fix saving ui zone
--- a/uiglue.c
+++ b/uiglue.c
@@ -94,6 +94,7 @@
a->ctl = Xuictl;
a->metadata = Xuimeta;
a->type = type;
+ a->ui->zone = decl.zone;
a->ui->label = label;
a->ui->readstr = ui_readstr;
a->ui->write = ui_write;
@@ -147,7 +148,6 @@
if (zone != decl.zone)
sysfatal("zone mismatch during definition");
ui = newui(f, label, type);
- ui->zone = decl.zone;
uiglue.uiInterface = f;
return ui;