]> mj.ucw.cz Git - libucw.git/blobdiff - lib/object.c
Oops, the card array was reversed!
[libucw.git] / lib / object.c
index d5e68e74dc0312a4653219f87ac1a2b818e4c0d6..d3e9b9aa4f45c316f2c0cdbed8e630f3d9786014 100644 (file)
@@ -2,6 +2,9 @@
  *     Sherlock Library -- Object Functions
  *
  *     (c) 1997--2001 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 #include "lib/lib.h"
@@ -100,7 +103,7 @@ obj_write(struct fastbuf *f, struct odes *d)
       {
        bputc(f, a->attr);
        for(z = b->val; *z; z++)
-         if (*z >= ' ')
+         if (*z >= ' ' || *z == '\t')
            bputc(f, *z);
          else
            {