diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-18 02:15:04 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-18 14:18:38 -0700 |
commit | c93c4efefee0dbf6d193466efd6761d9a1849ae9 (patch) | |
tree | 1a7005588ab1b3966b2ea23e0ac065e75b6052b2 /icon/windows-stub.c | |
parent | 3f4e765c05ddbae83ca0c0176572cd698f285d08 (diff) |
icon: Construct .exe files to hold windows icons for file associations
It appears that creating an executable with an icon resource is the
only way to display icons for files. Fortunately, that's not all that
hard.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'icon/windows-stub.c')
-rw-r--r-- | icon/windows-stub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/icon/windows-stub.c b/icon/windows-stub.c new file mode 100644 index 00000000..8df3e0aa --- /dev/null +++ b/icon/windows-stub.c @@ -0,0 +1,2 @@ +__stdcall +WinMain(int a, int b, int c, int d) { return 0; } |