mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
windows: Fix app icon loading (#22918)
Closes #22602 Release Notes: - N/A --------- Co-authored-by: 张小白 <364772080@qq.com>
This commit is contained in:
parent
70db427fc8
commit
d4d36d1adf
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ fn load_icon() -> Result<HICON> {
|
||||||
let handle = unsafe {
|
let handle = unsafe {
|
||||||
LoadImageW(
|
LoadImageW(
|
||||||
module,
|
module,
|
||||||
IDI_APPLICATION,
|
windows::core::PCWSTR(1 as _),
|
||||||
IMAGE_ICON,
|
IMAGE_ICON,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Reference in a new issue