[vlc-commits] commit: projectM: use add_directory for the preset directory. ( =?UTF-8?Q?S=C3=A9bastien=20Toque=20?=)

git at videolan.org git at videolan.org
Sun Jan 9 11:08:22 CET 2011


vlc/vlc-1.1 | branch: master | Sébastien Toque <xilasz at gmail.com> | Sun Jan  9 10:47:08 2011 +0100| [d206be7b247b4bf3d27873c8375bcc6c901d51d6] | committer: Rémi Duraffort 

projectM: use add_directory for the preset directory.
(cherry picked from commit b4bfa0324c5ab04b957dbc258f3214c9e03612fb)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=d206be7b247b4bf3d27873c8375bcc6c901d51d6
---

 modules/visualization/projectm.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 1f0247d..10b4760 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -83,8 +83,8 @@ vlc_module_begin ()
     add_file( "projectm-config", "/usr/share/projectM/config.inp", NULL,
               CONFIG_TEXT, CONFIG_LONGTEXT, true )
 #else
-    add_file( "projectm-preset-path", "/usr/share/projectM/presets", NULL,
-              PRESET_PATH_TXT, PRESET_PATH_LONGTXT, true )
+    add_directory( "projectm-preset-path", "/usr/share/projectM/presets", NULL,
+                   PRESET_PATH_TXT, PRESET_PATH_LONGTXT, true )
     add_file( "projectm-title-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf", NULL,
               TITLE_FONT_TXT, TITLE_FONT_LONGTXT, true )
     add_file( "projectm-menu-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf", NULL,



More information about the vlc-commits mailing list