diff --git a/pandatool/src/egg-palettize/txaLine.cxx b/pandatool/src/egg-palettize/txaLine.cxx index 98cfb7fbc0..f5badeec4d 100644 --- a/pandatool/src/egg-palettize/txaLine.cxx +++ b/pandatool/src/egg-palettize/txaLine.cxx @@ -47,6 +47,7 @@ parse(const string &line) { size_t colon = line.find(':'); if (colon == string::npos) { nout << "Colon required.\n"; + return false; } // Chop up the first part of the string (preceding the colon) into