summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 9c9c6efef..63af7ae64 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -144,7 +144,7 @@ void Logger::log(const char *log_text, ...)
{
unsigned size = 1024;
char* buf = nullptr;
- if (strlen(log_text) * 3> size)
+ if (strlen(log_text) * 3 > size)
size = static_cast<unsigned>(strlen(log_text) * 3);
buf = new char[size + 1];