FIX: man entries

This commit is contained in:
boreddevnl 2026-04-14 10:59:28 +02:00
parent 5bd9e537c5
commit fd7fa4f16e
2 changed files with 2 additions and 6 deletions

View file

@ -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';

View file

@ -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);