Commit graph

13 commits

Author SHA1 Message Date
Jens Arnold
d66139cdfb I intended to fix it, really\!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5610 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 22:27:48 +00:00
Jens Arnold
92af557257 Tweaked to compile with older gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5609 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 22:24:15 +00:00
Jens Arnold
0f04029293 New way of handling the builtin language strings. Now the string pointers are no longer stored as initialised data, but calculated by walking one long string containing all language strings separated by \0. While this doesn't need more RAM, it fixes the problem that loading incomplete .lng files after complete ones did not reset the missing strings to the default, and it also decreases the binary size by >1700 bytes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5608 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 21:43:15 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Daniel Stenberg
a91dfd53be Henrik Backe's english language file cleanup. This ups the language file
version number from 1 to 2, making *ALL* old language files obsolete.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4270 a1c6a512-1295-4272-9138-f99709370657
2004-01-23 11:41:11 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Daniel Stenberg
ab0dce0264 blatantly stupid proto added for mingw simulator compiles to get rid of
the darned warning


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2805 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 22:53:22 +00:00
Daniel Stenberg
4ce3f72cc6 made the language loader output all new strings on stdout when loaded in
the simulator, as it really helps to detect language-loading related
problems


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2777 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 12:31:34 +00:00
Daniel Stenberg
c7e0bea57a prevent storing IDs that are higher than we have knowledge about!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2620 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 12:20:53 +00:00
Daniel Stenberg
2d8aef9ab7 lang_load() returns an int to signal success
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2396 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 13:53:41 +00:00
Daniel Stenberg
6823fe8bd7 updated comments for the function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2394 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:50:45 +00:00
Daniel Stenberg
571e8a26e0 code-policed my own code ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2393 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:48:23 +00:00
Daniel Stenberg
8d38c965dd binary language load support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2388 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:39:33 +00:00