summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2013-09-12 15:37:57 +0200
committerSven Eden <yamakuzure@gmx.net>2013-09-12 15:37:57 +0200
commite719cd6eba23381b663bb57e176769cf371712b7 (patch)
tree46ceaf4b2dd4f3e526bc3d1b1cf55f1c790f292e /ufed-curses-types.c
parentSubstituted the long button labels with shorter ones. The long ones were writ... (diff)
downloadufed-e719cd6eba23381b663bb57e176769cf371712b7.tar.gz
ufed-e719cd6eba23381b663bb57e176769cf371712b7.tar.bz2
ufed-e719cd6eba23381b663bb57e176769cf371712b7.zip
sWrap_: new struct to support description line wrapping
Diffstat (limited to 'ufed-curses-types.c')
-rw-r--r--ufed-curses-types.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ufed-curses-types.c b/ufed-curses-types.c
index 10504cf..a09336b 100644
--- a/ufed-curses-types.c
+++ b/ufed-curses-types.c
@@ -63,6 +63,10 @@ sFlag* addFlag (sFlag** root, const char* name, int line, int ndesc, const char
newFlag->desc[i].stateForced = ' ';
newFlag->desc[i].stateMasked = ' ';
newFlag->desc[i].statePackage = ' ';
+ newFlag->desc[i].wrap = NULL;
+ newFlag->desc[i].wrapOrder = e_order;
+ newFlag->desc[i].wrapStripped = e_desc;
+ newFlag->desc[i].wrapWidth = 0;
}
} else
ERROR_EXIT(-1, "Unable to allocate %lu bytes for %d sDesc_ structs\n",