Code

added fix from Dale Harvey to expand incomplete JIDs specified in user
[inkscape.git] / src / sp-image.cpp
index 19b9b19a79c0fe587f7988a5a574ac23c0421035..17f969b537c6f9d8229a76f719d7de910b6a5c1d 100644 (file)
@@ -382,7 +382,7 @@ GdkPixbuf*  pixbuf_new_from_file( const char *filename, GError **error )
     }
     else
     {
-        g_warning ("unable to open file: %s", filename);
+        g_warning ("Unable to open linked file: %s", filename);
     }
 
 /*
@@ -821,13 +821,13 @@ sp_image_description(SPItem *item)
        SPImage *image = SP_IMAGE(item);
        char *href_desc;
         if (image->href) {
-            href_desc = (strncmp(image->href, "data:", 5) == 0) 
+            href_desc = (strncmp(image->href, "data:", 5) == 0)
                 ? g_strdup(_("embedded"))
                 : xml_quote_strdup(image->href);
         } else {
             g_warning("Attempting to call strncmp() with a null pointer.");
             href_desc = g_strdup(_("(null_pointer)")); // we call g_free() on href_desc
-        }                
+        }
 
        char *ret = ( image->pixbuf == NULL
                      ? g_strdup_printf(_("<b>Image with bad reference</b>: %s"), href_desc)