mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
12 lines
370 B
Diff
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)
|
|
{
|