Skip to content

Commit 168234a

Browse files
authored
🛠️ Make time format uses %ls instead of %s in line 424 & 428 (#67)
1 parent 50f1c36 commit 168234a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dwm-win32.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ drawbar(void) {
424424
gmtime_s(&date, &timer);
425425
wcsftime(utctimestr, 255, clockfmt, &date);
426426

427-
swprintf(timestr, sizeof(timestr), L"%s | UTC: %s", localtimestr, utctimestr);
427+
swprintf(timestr, sizeof(timestr), L"%ls | UTC: %ls", localtimestr, utctimestr);
428428
} else {
429-
swprintf(timestr, sizeof(localtimestr), L"%s", localtimestr);
429+
swprintf(timestr, sizeof(localtimestr), L"%ls", localtimestr);
430430
}
431431

432432
dc.w = TEXTW(timestr);

0 commit comments

Comments
 (0)