aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2012-07-05 10:57:53 -0700
committerKoushik Dutta <koushd@gmail.com>2012-07-05 10:57:53 -0700
commit05b41c988b704913045aa776ee64298400e72c83 (patch)
tree364fc9dc8159602a0593481ef7092bd308e4ff8e /common.h
parentf8fc12e741d566af215407f35cfc52e5c1cc0023 (diff)
downloadbootable_recovery-05b41c988b704913045aa776ee64298400e72c83.zip
bootable_recovery-05b41c988b704913045aa776ee64298400e72c83.tar.gz
bootable_recovery-05b41c988b704913045aa776ee64298400e72c83.tar.bz2
fix ui_nice_print define for code blocks
Change-Id: Id37af867f0b877d0a6713d03be8ff07bc73547b8
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index 29d100c..930b55a 100644
--- a/common.h
+++ b/common.h
@@ -38,7 +38,7 @@ void ui_printlogtail(int nb_lines);
void ui_set_show_text(int value);
void ui_set_nice(int enabled);
-#define ui_nice_print(...) ui_set_nice(1); ui_print(__VA_ARGS__); ui_set_nice(0)
+#define ui_nice_print(...) { ui_set_nice(1); ui_print(__VA_ARGS__); ui_set_nice(0); }
int ui_was_niced();
int ui_get_text_cols();