diff options
author | Simon Rozman <simon@rozman.si> | 2021-03-19 11:55:58 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2021-03-19 12:04:23 +0100 |
commit | 2f1d1ab8273f6d574f8e28261ddfc72ac4f8015d (patch) | |
tree | e860ef6c8ec15c05837c17e3a8bbb76ccbe892cf | |
parent | project: add support for intermediate versioning (diff) | |
download | wintun-2f1d1ab8273f6d574f8e28261ddfc72ac4f8015d.tar.xz wintun-2f1d1ab8273f6d574f8e28261ddfc72ac4f8015d.zip |
Fix © in resources
The \xa9 is © on Windows-125x code pages. When Wintun was compiled on a
Windows computer using UTF-8 as default code page (for "non-Unicode"
programs), the Copyright notice in resources was wrong.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r-- | api/resources.rc | 2 | ||||
-rw-r--r-- | driver/wintun.rc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/api/resources.rc b/api/resources.rc index 869e9b9..4186db8 100644 --- a/api/resources.rc +++ b/api/resources.rc @@ -6,6 +6,8 @@ #include <windows.h> #include <ntverp.h> +#pragma code_page(1252) + wintun.cat RCDATA "wintun\\wintun.cat" wintun.inf RCDATA "wintun\\wintun.inf" wintun.sys RCDATA "wintun\\wintun.sys" diff --git a/driver/wintun.rc b/driver/wintun.rc index 0f452a7..4b8c580 100644 --- a/driver/wintun.rc +++ b/driver/wintun.rc @@ -6,6 +6,8 @@ #include <windows.h> #include <ntverp.h> +#pragma code_page(1252) + #define STRINGIZE(x) #x #define EXPAND(x) STRINGIZE(x) |