mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Fix issue #142, pass -M <root> instead of full path.
This commit is contained in:
parent
c9707b4c1b
commit
5e4cf732e6
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ AM_CFLAGS=\
|
|||
@x11_CFLAGS@\
|
||||
@xinerama_CFLAGS@\
|
||||
@pango_CFLAGS@\
|
||||
-DMANPAGE_PATH="\"$(mandir)/man1/rofi.1\""\
|
||||
-DMANPAGE_PATH="\"$(mandir)/\""\
|
||||
-I$(top_srcdir)/include/\
|
||||
-I$(top_srcdir)/config/\
|
||||
-I$(top_builddir)/\
|
||||
|
|
|
@ -1505,7 +1505,7 @@ static void handle_keypress ( XEvent *ev )
|
|||
*/
|
||||
static void help ()
|
||||
{
|
||||
int code = execlp ( "man", "man", MANPAGE_PATH, NULL );
|
||||
int code = execlp ( "man", "man", "-M", MANPAGE_PATH, "rofi",NULL );
|
||||
|
||||
if ( code == -1 ) {
|
||||
fprintf ( stderr, "Failed to execute man: %s\n", strerror ( errno ) );
|
||||
|
|
Loading…
Reference in a new issue