summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-04 21:51:35 +0200
committerwm4 <wm4@nowhere>2016-05-04 21:51:35 +0200
commite5e1088c922ab6e767d7731bf9fe6044cb4071c8 (patch)
tree20310caf4b81f410db10b1e4e12c827375bda817
parentb2646911a900cf3cb9c6e90aa28066c7be91abaf (diff)
downloadmpv-e5e1088c922ab6e767d7731bf9fe6044cb4071c8.tar.bz2
mpv-e5e1088c922ab6e767d7731bf9fe6044cb4071c8.tar.xz
command: use NBSP for spacing after current marker for OSD lists
Requested. Will prevent odd layout for playlists with URLs longer than the screen.
-rw-r--r--player/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c
index c6391cc224..66d3b6fc42 100644
--- a/player/command.c
+++ b/player/command.c
@@ -113,8 +113,8 @@ struct hook_handler {
};
// U+279C HEAVY ROUND-TIPPED RIGHTWARDS ARROW
-#define ARROW "\342\236\234"
-#define ARROW_SP ARROW " "
+// U+00A0 NO-BREAK SPACE
+#define ARROW_SP "\342\236\234\302\240"
const char list_current[] = OSD_ASS_0 ARROW_SP OSD_ASS_1;
const char list_normal[] = OSD_ASS_0 "{\\alpha&HFF}" ARROW_SP "{\\r}" OSD_ASS_1;