aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}