diff options
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 3b16a06..ea14b5b 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -443,7 +443,7 @@ r: int iRating; } wchar_t wszRating[3]; - swprintf_s(wszRating, sizeof(wszRating), L"%d", iRating); + swprintf_s(wszRating, sizeof(wszRating)/sizeof(*wszRating), L"%d", iRating); ListView_SetItemText(hWnd, pLvi->iItem, ELVSIRATING, wszRating); } |