summaryrefslogtreecommitdiffstats
path: root/src/conditions.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-09-16 12:28:27 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-09-16 12:28:27 +0000
commit4e4ebf48914fe22803d4e6891af13f1292456f2e (patch)
tree7339396445719c9364957861afb350dbe3d9d396 /src/conditions.cpp
parentmerge in 2geom rev. 1154 (diff)
downloadinkscape-4e4ebf48914fe22803d4e6891af13f1292456f2e.tar.gz
inkscape-4e4ebf48914fe22803d4e6891af13f1292456f2e.zip
trivial changes to address warning with g++-4.2
(bzr r3757)
Diffstat (limited to '')
-rw-r--r--src/conditions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conditions.cpp b/src/conditions.cpp
index e5a1d47c9..936346f25 100644
--- a/src/conditions.cpp
+++ b/src/conditions.cpp
@@ -149,7 +149,7 @@ static std::vector<Glib::ustring> splitByWhitespace(gchar const *value) {
#define SVG10FEATURE "org.w3c."
static bool evaluateSVG11Feature(gchar const *feature) {
- static gchar *_supported_features[] = {
+ static gchar const *_supported_features[] = {
"SVG", // incomplete "SVG-static" - missing support for "Filter"
/* SVG - user agent supports at least one of the following:
"SVG-static", "SVG-animation", "SVG-dynamic" or "SVGDOM" */
@@ -228,7 +228,7 @@ static bool evaluateSVG11Feature(gchar const *feature) {
}
static bool evaluateSVG10Feature(gchar const *feature) {
- static gchar *_supported_features[] = {
+ static gchar const *_supported_features[] = {
"svg.static", // incomplete - no filter effects
"dom.svg.static", // not sure
// "svg.animation",