Files
termux-packages/x11-packages/abiword/plugins-command-xp-AbiCommand.cpp.patch
termux-actions[bot] 8f481c02fb x11-packages/abiword
2022-05-02 02:03:35 +00:00

12 lines
370 B
Diff

--- a/plugins/command/xp/AbiCommand.cpp
+++ b/plugins/command/xp/AbiCommand.cpp
@@ -1188,7 +1188,7 @@
{
const UT_UTF8String *pCom1 = pToks->getNthItem (1);
printf(" Filename %s \n",pCom1->utf8_str());
- const char *suffix = rindex (pCom1->utf8_str (), '.');
+ const char *suffix = strrchr (pCom1->utf8_str (), '.');
if (suffix != NULL)
{