0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/abiword/plugins-command-xp-AbiCommand.cpp.patch
2022-05-02 08:59:50 +09: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)
{