You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
590 B
13 lines
590 B
2 months ago
|
diff -up kbd-2.6.4/src/libkfont/setfont.c.orig kbd-2.6.4/src/libkfont/setfont.c
|
||
|
--- kbd-2.6.4/src/libkfont/setfont.c.orig 2023-09-27 11:57:58.000000000 +0200
|
||
|
+++ kbd-2.6.4/src/libkfont/setfont.c 2024-07-29 09:45:11.476820762 +0200
|
||
|
@@ -280,7 +280,7 @@ kfont_load_fonts(struct kfont_context *c
|
||
|
unsigned char *inbuf, *fontbuf, *bigfontbuf;
|
||
|
unsigned int inputlth, fontbuflth, fontsize, height, width;
|
||
|
unsigned int bigfontbuflth, bigfontsize, bigheight, bigwidth;
|
||
|
- unsigned char *ptr;
|
||
|
+ unsigned char *ptr = NULL;
|
||
|
struct unicode_list *uclistheads;
|
||
|
struct kbdfile *fp = NULL;
|
||
|
int i;
|