1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[gettext] Revision 1 is also valid

At least I think so.
This commit is contained in:
Witold Filipczyk 2023-12-14 21:45:08 +01:00
parent dee0b28f97
commit 93e9ac1b4c

View File

@ -357,6 +357,7 @@ source_success:
/* Fill in the information about the available tables. */ /* Fill in the information about the available tables. */
switch (W(domain->must_swap, data->revision)) { switch (W(domain->must_swap, data->revision)) {
case 0: case 0:
case 1:
domain->nstrings = W(domain->must_swap, data->nstrings); domain->nstrings = W(domain->must_swap, data->nstrings);
domain->orig_tab = (struct string_desc *) domain->orig_tab = (struct string_desc *)
((char *) data + ((char *) data +