diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-06 17:25:59 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-06 17:25:59 +0200 |
commit | e0bc29e318c3e5c7918703a3f5ae91033e28b388 (patch) | |
tree | 0ca9e9e80a2e97be3c95bd410f9ab23c31806086 /c/episodelistview.cpp | |
parent | d671e9086fc0e447d93b9592534dbd06b1d5fd4d (diff) | |
download | EpisodeBrowser-e0bc29e318c3e5c7918703a3f5ae91033e28b388.tar.gz |
Use Swprintf instead of swprintf_s.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r-- | c/episodelistview.cpp | 2 |
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); } |