Skip to content

Commit 7216448

Browse files
committed
Fix pointer formatting
1 parent e8952fb commit 7216448

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common/console.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ namespace console {
194194
}
195195
}
196196

197-
void write_console(const char* format, ...) {
197+
void write_console(const char * format, ...) {
198198
va_list args;
199199
va_start(args, format);
200200
vfprintf(out, format, args);

common/console.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ namespace console {
2121
const char * get_display_color();
2222
bool readline(std::string & line, bool multiline_input);
2323

24-
void write_console(const char* format, ...);
24+
void write_console(const char * format, ...);
2525

2626
template<typename... Args>
27-
void write(const char* format, Args... args) {
27+
void write(const char * format, Args... args) {
2828
if (get_display() == user_input || !common_log_is_active(common_log_main())) {
2929
write_console(format, args...);
3030

@@ -35,7 +35,7 @@ namespace console {
3535
}
3636
}
3737

38-
inline void write(const char* data) {
38+
inline void write(const char * data) {
3939
write("%s", data);
4040
}
4141

0 commit comments

Comments
 (0)