diff --git a/src/core/man_entries.h b/src/core/man_entries.h index 577a9f7..8ef4dfd 100644 --- a/src/core/man_entries.h +++ b/src/core/man_entries.h @@ -15,7 +15,7 @@ static size_t man_strlen(const char *str) { static void write_man_file(const char *name, const char *content) { char path[128] = "/Library/man/"; - int i = 15; + int i = 13; while (*name) path[i++] = *name++; path[i++] = '.'; path[i++] = 't'; diff --git a/src/wm/wm.c b/src/wm/wm.c index 8eaec67..0a21455 100644 --- a/src/wm/wm.c +++ b/src/wm/wm.c @@ -431,7 +431,7 @@ void wm_refresh_desktop(void) { static void create_desktop_shortcut(const char *app_name) { char path[128] = "/root/Desktop/"; - int p = 9; + int p = 14; int n = 0; while(app_name[n]) path[p++] = app_name[n++]; const char *ext = ".shortcut"; int e = 0; while(ext[e]) path[p++] = ext[e++]; @@ -3156,10 +3156,6 @@ uint32_t wm_get_ticks(void) { void wm_timer_tick(void) { timer_ticks++; - if (!is_dragging && !is_dragging_file) { - // Periodic refresh removed - now triggered by FS events - } - static uint8_t last_second = 0xFF; outb(0x70, 0x00);