]> git.sesse.net Git - vlc/blobdiff - modules/misc/testsuite/test2.cpp
Avoid \r\n problems between platforms
[vlc] / modules / misc / testsuite / test2.cpp
index 629b4215e4bbb0b535484a61b6356655b9eed3c8..b597b4f42455c649d7a2269c2b980394f1d577cf 100644 (file)
@@ -2,7 +2,7 @@
  * test2.cpp : Empty C++ module for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: test2.cpp,v 1.1 2002/10/04 13:13:54 sam Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -33,8 +33,8 @@
  *****************************************************************************/
 vlc_module_begin();
     /* Minimal C++ usage */
-    string description = "C++ module that does nothing";
-    set_description( _( description.c_str() ) );
+    std::string description = "C++ module that does nothing";
+    set_description( (char*)_( description.c_str() ) );
 vlc_module_end();