Fixing pointer deref gone wild.
This commit is contained in:
parent
d0f3d30643
commit
9184c45297
2
main.cpp
2
main.cpp
|
@ -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;
|
||||||
|
|
Reference in New Issue
Block a user