paps: fix gcc14 build const char ptr

This commit is contained in:
zlice 2025-06-30 15:34:42 -04:00 committed by Đoàn Trần Công Danh
parent a6464dc1cd
commit 55d1b4f64c

View file

@ -0,0 +1,11 @@
--- a/src/paps.cc
+++ b/src/paps.cc
@@ -1073,7 +1073,7 @@
const char *text)
{
const char *p = text;
- char *next;
+ const char *next;
gunichar wc;
GList *result = nullptr;
const char *last_para = text;