summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 600eff1d89..adda4403c5 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1379,7 +1379,7 @@ static void format_display(struct gui_wps *gwps, char* buf,
1379 /* Get number of "|" chars in the current conditional; 1379 /* Get number of "|" chars in the current conditional;
1380 * used by get_tag when calculating levels. 1380 * used by get_tag when calculating levels.
1381 */ 1381 */
1382 skip_conditional(NULL, fmt, 0, &intval); 1382 skip_conditional(gwps, fmt, 0, &intval);
1383 value = get_tag(gwps->data, id3, nid3, fmt, temp_buf, 1383 value = get_tag(gwps->data, id3, nid3, fmt, temp_buf,
1384 sizeof(temp_buf),&tag_length, 1384 sizeof(temp_buf),&tag_length,
1385 subline_time_mult, flags, &intval); 1385 subline_time_mult, flags, &intval);
@@ -1393,10 +1393,10 @@ static void format_display(struct gui_wps *gwps, char* buf,
1393 /* No value, so skip to else part, using a sufficiently high 1393 /* No value, so skip to else part, using a sufficiently high
1394 value to "hit" the last part of the conditional */ 1394 value to "hit" the last part of the conditional */
1395 if ((!value) || (!strlen(value))) 1395 if ((!value) || (!strlen(value)))
1396 fmt = skip_conditional(gwps, fmt, 1000, NULL); 1396 fmt = skip_conditional(NULL, fmt, 1000, NULL);
1397 else 1397 else
1398 if(intval > 1) /* enum */ 1398 if(intval > 1) /* enum */
1399 fmt = skip_conditional(gwps, fmt, intval - 1, NULL); 1399 fmt = skip_conditional(NULL, fmt, intval - 1, NULL);
1400 1400
1401 level++; 1401 level++;
1402 break; 1402 break;