freebsd-ports/japanese/eb/files/patch-eb-book.c
Norikatsu Shigemura bf958d6a97 o Update to 4.2. [1]
o Fix minor bug. [2]

PR:		ports/81629 [1]
Submitted by:	KIMURA Yasuhiro <yasu@utahime.org> [1]
Obtained from:	ndtpd/01982 [2]
Approved by:	maintainer timeout
2005-07-31 07:17:11 +00:00

15 lines
433 B
C

--- eb/book.c.orig Sun May 29 09:42:54 2005
+++ eb/book.c Sun Jul 31 16:06:39 2005
@@ -658,8 +658,11 @@
error_code = EB_ERR_FAIL_READ_CAT;
break;
}
- if (*(buffer + 4) == '\0')
+ if (*(buffer + 4) == '\0') {
+ strcpy(subbook->sound_file_name, subbook->text_file_name);
+ strcpy(subbook->graphic_file_name, subbook->text_file_name);
continue;
+ }
/*
* Set a text file name and its compression hint.