Fixing pointer deref gone wild.

This commit is contained in:
Stefano Sanfilippo 2014-11-27 22:16:12 +01:00
parent d0f3d30643
commit 9184c45297

View File

@ -20,7 +20,7 @@ void mcerror(const char *message) {
} }
void mcmeta(const char *text) { void mcmeta(const char *text) {
while (text != '\0' && *text == ' ') { while (*text != '\0' && *text == ' ') {
text += 1; text += 1;
} }
std::cerr << "META: " << text << std::endl; std::cerr << "META: " << text << std::endl;