]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/sp-epsf.c
minor cosmetic changes as per Phil Bull.
[evince.git] / backend / dvi / mdvi-lib / sp-epsf.c
index b266d671f18eff49c36af2afbc607571a7f48a54..703a9c8cbe2e0992bfdaf5d51d77262c5fa55da6 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 /* postscript specials */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
@@ -148,7 +149,7 @@ static char *parse_epsf_special(EpsfBox *box, char **ret,
                                while(*p && *p != '"')
                                        p++;
                                if(*p != '"')
-                                       warning(
+                                       mdvi_warning(
                                        _("%s: malformed value for key `%s'\n"),
                                                filename, keyname);
                        } else
@@ -160,17 +161,17 @@ static char *parse_epsf_special(EpsfBox *box, char **ret,
                        if(STRCEQ(keys[i].name, keyname))
                                break;
                if(i == NKEYS) {
-                       warning(_("%s: unknown key `%s' ignored\n"),
-                               filename, keyname);
+                       mdvi_warning(_("%s: unknown key `%s' ignored\n"),
+                                    filename, keyname);
                        continue;
                }
                if(keys[i].has_arg && val == NULL) {
-                       warning(_("%s: no argument for key `%s', using defaults\n"),
-                               filename, keyname);
+                       mdvi_warning(_("%s: no argument for key `%s', using defaults\n"),
+                                    filename, keyname);
                        val = keys[i].value;
                } else if(!keys[i].has_arg && val) {
-                       warning(_("%s: argument `%s' ignored for key `%s'\n"),
-                               filename, val, keyname);
+                       mdvi_warning(_("%s: argument `%s' ignored for key `%s'\n"),
+                                    filename, val, keyname);
                        val = NULL;
                }
                if(val)