1 parent
605c1ddfae
commit
9029e21a4f
7 files changed
+10
-9
No files matched your search
@@ -30,7 +30,7 @@ wp_intern WpStr8RO colours[COUNT_TERM_COLOUR] = {
|
||||
};
|
||||
|
||||
void printColouredText(WpStr8RO *text, WpTerminalColour colour) {
|
||||
printf(WP_STR8_SPEC WP_STR8_SPEC, wpStr8Varg(colours[colour]), wpStr8Varg((*text)));
|
||||
printf("%" WP_STR8_SPEC "%" WP_STR8_SPEC, wpStr8Varg(colours[colour]), wpStr8Varg((*text)));
|
||||
}
|
||||
|
||||
#endif // !WP_PLATFORM_POSIX
|
||||
@@ -56,7 +56,7 @@ void printColouredText(WpStr8RO *text, WpTerminalColour colour) {
|
||||
}
|
||||
|
||||
SetConsoleTextAttribute(data.handle, data.current_colour);
|
||||
printf(WP_STR8_SPEC, wpStr8Varg((*text)));
|
||||
printf("%" WP_STR8_SPEC, wpStr8Varg((*text)));
|
||||
}
|
||||
|
||||
wp_intern void initData(TermcolourData *data) {
|
||||
|
||||
Reference in new issue
Block a user