diff options
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 2e8f7841c0..a66c1aa4b5 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -1162,6 +1162,32 @@ static char *get_token_value(struct gui_wps *gwps, | |||
1162 | *intval = tm->tm_wday + 1; | 1162 | *intval = tm->tm_wday + 1; |
1163 | snprintf(buf, buf_size, "%1d", tm->tm_wday); | 1163 | snprintf(buf, buf_size, "%1d", tm->tm_wday); |
1164 | return buf; | 1164 | return buf; |
1165 | #else | ||
1166 | case WPS_TOKEN_RTC_DAY_OF_MONTH: | ||
1167 | case WPS_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED: | ||
1168 | case WPS_TOKEN_RTC_HOUR_24_ZERO_PADDED: | ||
1169 | case WPS_TOKEN_RTC_HOUR_24: | ||
1170 | case WPS_TOKEN_RTC_HOUR_12_ZERO_PADDED: | ||
1171 | case WPS_TOKEN_RTC_HOUR_12: | ||
1172 | case WPS_TOKEN_RTC_MONTH: | ||
1173 | case WPS_TOKEN_RTC_MINUTE: | ||
1174 | case WPS_TOKEN_RTC_SECOND: | ||
1175 | case WPS_TOKEN_RTC_AM_PM_UPPER: | ||
1176 | case WPS_TOKEN_RTC_AM_PM_LOWER: | ||
1177 | case WPS_TOKEN_RTC_YEAR_2_DIGITS: | ||
1178 | strncpy(buf, "--", buf_size); | ||
1179 | return buf; | ||
1180 | case WPS_TOKEN_RTC_YEAR_4_DIGITS: | ||
1181 | strncpy(buf, "----", buf_size); | ||
1182 | return buf; | ||
1183 | case WPS_TOKEN_RTC_WEEKDAY_NAME: | ||
1184 | case WPS_TOKEN_RTC_MONTH_NAME: | ||
1185 | strncpy(buf, "---", buf_size); | ||
1186 | return buf; | ||
1187 | case WPS_TOKEN_RTC_DAY_OF_WEEK_START_MON: | ||
1188 | case WPS_TOKEN_RTC_DAY_OF_WEEK_START_SUN: | ||
1189 | strncpy(buf, "-", buf_size); | ||
1190 | return buf; | ||
1165 | #endif | 1191 | #endif |
1166 | 1192 | ||
1167 | #ifdef HAVE_LCD_CHARCELLS | 1193 | #ifdef HAVE_LCD_CHARCELLS |