Fix writing movie data
Add missing break that caused extra separators to be written.
This commit is contained in:
parent
8e154f30a0
commit
68e5fddf63
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue