Skip to content
Snippets Groups Projects
Commit c35dec2f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Remove gratuitous use of comma operator.

parent 0d60813b
Branches
Tags
1 merge request!455Update branch with changes from master
...@@ -56,10 +56,10 @@ bool sauce_fread_charinfo(FILE* fp, enum sauce_char_filetype* type, struct sauce ...@@ -56,10 +56,10 @@ bool sauce_fread_charinfo(FILE* fp, enum sauce_char_filetype* type, struct sauce
*type = record.filetype; *type = record.filetype;
if(info != NULL) { if(info != NULL) {
memset(info, 0, sizeof(*info)); memset(info, 0, sizeof(*info));
SAFECOPY(info->title, record.title), truncsp(info->title); SAFECOPY(info->title, record.title); truncsp(info->title);
SAFECOPY(info->author, record.author), truncsp(info->author); SAFECOPY(info->author, record.author); truncsp(info->author);
SAFECOPY(info->group, record.group), truncsp(info->group); SAFECOPY(info->group, record.group); truncsp(info->group);
SAFECOPY(info->date, record.date), truncsp(info->date); SAFECOPY(info->date, record.date); truncsp(info->date);
info->width = record.tinfo1; info->width = record.tinfo1;
info->height = record.tinfo2; info->height = record.tinfo2;
switch(record.filetype) { switch(record.filetype) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment