aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-03 02:42:47 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-03 02:42:47 +0000
commit8ca5b0f15c1680614bf6e10bf84b0b293b032a22 (patch)
treeb384ef17e45d26a9e73b60c04eeb2935211661ef /libbb
parentf872579d4f253a694616eccadcfeebb27cfbd53a (diff)
downloadbusybox-w32-8ca5b0f15c1680614bf6e10bf84b0b293b032a22.tar.gz
busybox-w32-8ca5b0f15c1680614bf6e10bf84b0b293b032a22.tar.bz2
busybox-w32-8ca5b0f15c1680614bf6e10bf84b0b293b032a22.zip
lineedit: add missing #if/#endif
init: fix warnings git-svn-id: svn://busybox.net/trunk/busybox@17734 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/lineedit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 343890868..937d70d1f 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -1269,8 +1269,10 @@ int read_line_input(const char* prompt, char* command, int maxsize, line_input_t
1269 1269
1270 /* With null flags, no other fields are ever used */ 1270 /* With null flags, no other fields are ever used */
1271 state = st ? st : (line_input_t*) &const_int_0; 1271 state = st ? st : (line_input_t*) &const_int_0;
1272#if ENABLE_FEATURE_EDITING_SAVEHISTORY
1272 if (state->flags & SAVE_HISTORY) 1273 if (state->flags & SAVE_HISTORY)
1273 load_history(state->hist_file); 1274 load_history(state->hist_file);
1275#endif
1274 1276
1275 /* prepare before init handlers */ 1277 /* prepare before init handlers */
1276 cmdedit_y = 0; /* quasireal y, not true if line > xt*yt */ 1278 cmdedit_y = 0; /* quasireal y, not true if line > xt*yt */