mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Fixed wrong quotes for inline styles
This commit is contained in:
parent
5cce57cbd8
commit
64388737f6
@ -17315,7 +17315,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
|
|||||||
else
|
else
|
||||||
sprintf(str, "Style %s %s", attr_list[i], attrib[i]);
|
sprintf(str, "Style %s %s", attr_list[i], attrib[i]);
|
||||||
if (getcfg(lbs->name, str, display, sizeof(display))) {
|
if (getcfg(lbs->name, str, display, sizeof(display))) {
|
||||||
sprintf(str, "%s\" style=\"%s\"", rowstyle, display);
|
sprintf(str, "%s\" style=\"%s", rowstyle, display);
|
||||||
strlcpy(rowstyle, str, sizeof(rowstyle));
|
strlcpy(rowstyle, str, sizeof(rowstyle));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -17544,7 +17544,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
|
|||||||
strlcpy(tdstyle, rowstyle, sizeof(tdstyle));
|
strlcpy(tdstyle, rowstyle, sizeof(tdstyle));
|
||||||
sprintf(str, "Cell Style %s %s", attr_list[i], attrib[i]);
|
sprintf(str, "Cell Style %s %s", attr_list[i], attrib[i]);
|
||||||
if (getcfg(lbs->name, str, display, sizeof(display))) {
|
if (getcfg(lbs->name, str, display, sizeof(display))) {
|
||||||
sprintf(str, "%s\" style=\"%s\"", rowstyle, display);
|
sprintf(str, "%s\" style=\"%s", rowstyle, display);
|
||||||
strlcpy(tdstyle, str, sizeof(rowstyle));
|
strlcpy(tdstyle, str, sizeof(rowstyle));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user