diff options
Diffstat (limited to 'user/abiword/fix-bad-cast.patch')
-rw-r--r-- | user/abiword/fix-bad-cast.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/abiword/fix-bad-cast.patch b/user/abiword/fix-bad-cast.patch new file mode 100644 index 000000000..fdecb21c5 --- /dev/null +++ b/user/abiword/fix-bad-cast.patch @@ -0,0 +1,12 @@ +diff -ur a/src/af/xap/xp/xap_Dialog.cpp b/src/af/xap/xp/xap_Dialog.cpp +--- a/src/af/xap/xp/xap_Dialog.cpp 2022-02-01 17:49:27.650000000 +0000 ++++ b/src/af/xap/xp/xap_Dialog.cpp 2022-02-01 17:52:14.000000000 +0000 +@@ -267,7 +267,7 @@ + // This function constructs and returns the window name of a modeless dialog by + // concatenating the active frame with the dialog name + +- *pWindowName = (char) NULL; ++ *pWindowName = 0; // https://gitlab.gnome.org/World/AbiWord/-/commit/857cd86def49fe8557cfe123830c4d5a61eee732.patch + UT_UTF8String wn = UT_UTF8String(pDialogName); + + XAP_Frame* pFrame = getActiveFrame(); |