Skip to content

Commit

Permalink
Merge branch 'uyjulian:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
yochy4671 committed Aug 17, 2022
2 parents 0af9d8c + c5a5c9c commit 4d5e467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spi00in.c
Expand Up @@ -36,7 +36,7 @@ EXPORT(int) GetPluginInfoW(int info_number, LPWSTR buffer, int buffer_length)
return 0;
}

int ret = _snwprintf(buffer, buffer_length, L"%s", plugin_info[info_number]);
int ret = _snwprintf(buffer, buffer_length, L"%hs", plugin_info[info_number]);
if (ret > buffer_length)
{
ret = buffer_length;
Expand Down

0 comments on commit 4d5e467

Please sign in to comment.