]> git.pld-linux.org Git - packages/a2ps.git/blobdiff - a2ps-autoenc.patch
- more verbose %%files
[packages/a2ps.git] / a2ps-autoenc.patch
index 5e3e08f3ea04798aafd39cb0675ef878e755d9c4..674501a36654308aac29679b82e0d67f0525a495 100644 (file)
@@ -33,7 +33,7 @@
    style_sheets = new_style_sheets ();
 +
 +  /* Process special case: Japanese Document */
-+  if (! strncmp (locale, "ja", 2) )
++  if ((locale != NULL) && ! strncmp (locale, "ja", 2) )
 +    job->requested_encoding_name = xstrdup ("euc-jp");
  
    /* Process the command line options. */
This page took 0.07007 seconds and 4 git commands to generate.