Skip to content

Commit

Permalink
X.P.MPD: Fix CPP
Browse files Browse the repository at this point in the history
  • Loading branch information
slotThe committed Apr 4, 2024
1 parent 8a1197c commit 33ba44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XMonad/Prompt/MPD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ addAndPlayAny :: RunMPD -> XPConfig -> [Metadata] -> X ()
addAndPlayAny runMPD xp metas = do
#if MIN_VERSION_xmonad_contrib(0,16,9)
hist <- historyCompletionP (showXPrompt (MPDPrompt "Search: ") ==)
#else if MIN_VERSION_xmonad_contrib(0,18,0,9)
#elif MIN_VERSION_xmonad_contrib(0,18,0,9)
hist <- historyCompletionP xp (showXPrompt (MPDPrompt "Search: ") ==)
#else
let hist = historyCompletionP (showXPrompt (MPDPrompt "Search: ") ==)
Expand Down

0 comments on commit 33ba44d

Please sign in to comment.