1
0
Fork 0
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:
QC 2015-04-05 21:16:27 +02:00
parent c9707b4c1b
commit 5e4cf732e6
2 changed files with 2 additions and 2 deletions

View file

@ -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)/\

View file

@ -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 ) );