Skip to content
Snippets Groups Projects
Commit c9fdbfa2 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Actually, it's a long, not an Atom... same thing though.

parent 8ead23f1
Branches
No related tags found
No related merge requests found
Pipeline #7672 passed
...@@ -1077,7 +1077,7 @@ static int init_window() ...@@ -1077,7 +1077,7 @@ static int init_window()
x11.XSetWMProperties(dpy, win, NULL, NULL, 0, 0, NULL, wmhints, classhints); x11.XSetWMProperties(dpy, win, NULL, NULL, 0, 0, NULL, wmhints, classhints);
x11.XFree(wmhints); x11.XFree(wmhints);
} }
Atom *tmp_icon = malloc((ciolib_initial_icon_width * ciolib_initial_icon_width + 2) * sizeof(Atom)); long *tmp_icon = malloc((ciolib_initial_icon_width * ciolib_initial_icon_width + 2) * sizeof(long));
if (tmp_icon) { if (tmp_icon) {
for (size_t pos = 0; pos < ciolib_initial_icon_width * ciolib_initial_icon_width; pos++) for (size_t pos = 0; pos < ciolib_initial_icon_width * ciolib_initial_icon_width; pos++)
tmp_icon[pos+2] = ((uint32_t*)ciolib_initial_icon)[pos]; tmp_icon[pos+2] = ((uint32_t*)ciolib_initial_icon)[pos];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment