aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-06 17:25:59 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-06 17:25:59 +0200
commite0bc29e318c3e5c7918703a3f5ae91033e28b388 (patch)
tree0ca9e9e80a2e97be3c95bd410f9ab23c31806086
parentd671e9086fc0e447d93b9592534dbd06b1d5fd4d (diff)
downloadEpisodeBrowser-e0bc29e318c3e5c7918703a3f5ae91033e28b388.tar.gz
Use Swprintf instead of swprintf_s.
-rw-r--r--c/episodelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index 7cbbcca..ec8ab69 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -412,7 +412,7 @@ r: int rating;
}
wchar_t sRating[3];
- swprintf_s(sRating, sizeof(sRating)/sizeof(*sRating), L"%d", rating);
+ Swprintf(sRating, L"%d", rating);
ListView_SetItemText(hWnd, iItem, ELVSIRATING, sRating);
}