Commits

Christophe Grenier  committed 3badc43

PhotoRec: recover FictionBook .fb2

  • Participants
  • Parent commits 5a0e2bb

Comments (0)

Files changed (1)

File src/file_txt.c

       /* Scribus XML file */
       file_recovery_new->extension="sla";
     }
+    else if(strncasecmp(tmp, "<FictionBook", 12)==0)
+    {
+      /* FictionBook, see http://www.fictionbook.org */
+      file_recovery_new->extension="fb2";
+    }
     tmp++;
     tmp=strchr(tmp,'<');
   }