summarylogtreecommitdiffstats
path: root/suppress_color_from_help.patch
diff options
context:
space:
mode:
authorDarren Wu2019-02-16 18:43:09 +0800
committerDarren Wu2019-02-16 18:43:09 +0800
commit9d06303135adee17a0d3cfade9bd773ba51b686d (patch)
tree477c3f2084fbfbf8ed2448c79b21f888cc2d1153 /suppress_color_from_help.patch
downloadaur-9d06303135adee17a0d3cfade9bd773ba51b686d.tar.gz
release
Diffstat (limited to 'suppress_color_from_help.patch')
-rw-r--r--suppress_color_from_help.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/suppress_color_from_help.patch b/suppress_color_from_help.patch
new file mode 100644
index 000000000000..7cc83c3702b3
--- /dev/null
+++ b/suppress_color_from_help.patch
@@ -0,0 +1,31 @@
+--- errmsg.c 2019-02-16 18:24:54.410110160 +0800
++++ errmsg.c 2019-02-16 18:22:39.476943887 +0800
+@@ -166,8 +166,8 @@
+
+ SetConsoleTextAttribute(hConsole, screenBufferInfo.wAttributes);
+ #else
+- printf(FGRN("%s"), MsgGetEx(MSG_UASM));
+- printf(FCYN("%s\n"), MsgGetEx(MSG_UASM2));
++ printf("%s", MsgGetEx(MSG_UASM));
++ printf("%s\n", MsgGetEx(MSG_UASM2));
+ #endif
+
+ return( 4 ); /* return number of lines printed */
+@@ -200,7 +200,7 @@
+ #else
+ for (p = usage2; *p != '\n'; ) {
+ const char *p2 = p + strlen(p) + 1;
+- printf(FYEL("%-20s %s\n"), p, p2);
++ printf("%-20s %s\n", p, p2);
+ p = p2 + strlen(p2) + 1;
+ }
+ #endif
+@@ -217,7 +217,7 @@
+ #else
+ for (p = usage; *p != '\n'; ) {
+ const char *p2 = p + strlen(p) + 1;
+- printf(FWHT("%-20s %s\n"), p, p2);
++ printf("%-20s %s\n", p, p2);
+ p = p2 + strlen(p2) + 1;
+ }
+ #endif