Use path.filename() instead of the deprecated path.leaf().
This commit is contained in:
parent
63dffb843b
commit
431c950c75
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ namespace {
|
||||||
// Find command name: its the substring starting right of the
|
// Find command name: its the substring starting right of the
|
||||||
// rightmost '/' character in the pager pathname. See manpage for
|
// rightmost '/' character in the pager pathname. See manpage for
|
||||||
// strrchr.
|
// strrchr.
|
||||||
path basename(pager_path.leaf());
|
path basename(pager_path.filename());
|
||||||
execlp(pager_path.string().c_str(), basename.string().c_str(),
|
execlp(pager_path.string().c_str(), basename.string().c_str(),
|
||||||
(char *)0);
|
(char *)0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue