Fix writing movie data

Add missing break that caused extra separators to be written.
This commit is contained in:
Ilari Liusvaara 2013-11-24 07:21:45 +02:00
parent 8e154f30a0
commit 68e5fddf63

View file

@ -463,6 +463,7 @@ std::string pcs_write_class(const struct port_controller_set& pset, unsigned& tm
s << "\t\t\ttmp = (short)((unsigned short)buffer[" << i.offset s << "\t\t\ttmp = (short)((unsigned short)buffer[" << i.offset
<< "] + ((unsigned short)buffer[" << (i.offset + 1) << "] << 8));\n"; << "] + ((unsigned short)buffer[" << (i.offset + 1) << "] << 8));\n";
s << "\t\t\tptr += sprintf(textbuf + ptr, \" %i\", tmp);\n"; s << "\t\t\tptr += sprintf(textbuf + ptr, \" %i\", tmp);\n";
break;
case 2: case 2:
s << "\t\t\ttextbuf[ptr++] = '|';\n"; s << "\t\t\ttextbuf[ptr++] = '|';\n";
break; break;