[totem] browser-plugin: Fix build when using C++11 mode



commit c61a4a096f75b6f69e2f7c34361a12edc59a9994
Author: Ting-Wei Lan <lantw44 gmail com>
Date:   Tue Feb 11 04:36:00 2014 +0000

    browser-plugin: Fix build when using C++11 mode
    
    totemPlugin.cpp:169:15: error: invalid suffix on literal; C++11 requires
    a space between literal and identifier [-Wreserved-user-defined-literal]
      "Quicktime/"TOTEM_NARROWSPACE_VERSION;
                 ^
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724095

 browser-plugin/totemPlugin.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index 337a814..e999863 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -166,11 +166,11 @@ static const char kPluginLongDescription[] =
 
 static const char kPluginUserAgent[] =
 #if defined(TOTEM_NARROWSPACE_PLUGIN)
-  "Quicktime/"TOTEM_NARROWSPACE_VERSION;
+  "Quicktime/" TOTEM_NARROWSPACE_VERSION;
 #elif defined(TOTEM_GMP_PLUGIN)
   "Windows-Media-Player/10.00.00.4019";
 #elif defined(TOTEM_VEGAS_PLUGIN)
-  "Videos/"VERSION;
+  "Videos/" VERSION;
 #else
   "";
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]