Age | Commit message (Collapse) | Author |
|
|
|
the NewGRF parameter list
|
|
|
|
earlier than necessary.
|
|
sources too
|
|
|
|
|
|
ship sprite) as characters in input like filenames or text that is sent over the network.
|
|
strcasecmp under some circumstances.
|
|
_GNU_SOURCE isn't defined.
|
|
to squirrel
|
|
|
|
the network) to pass newlines instead of replacing them with question marks, but only when asked to do so.
|
|
|
|
|
|
-Doc: string(cpy|cat) functions
|
|
|
|
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
|
|
on all platforms
|
|
something more than whitespace as description of files that don't have a description.
|
|
unneeded include from openttd.h.
|
|
when it's not necessary.
|
|
3.14 or superior, as it now have snprintf() and vsnprintf conform to C99
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
logical locations.
|
|
style
|
|
is too long for the internal buffers to handle. We should not crash on such a case even though the message is too big for the window anyway.
|
|
The end of the preliminary work is near
|
|
don't terminate the string when an invalid encoding is encountered, but only focus on maximum length.
|
|
NL at EOF
|
|
also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'.
-Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area)
|
|
MD5SUM and use it.
|
|
|
|
we didn't test to fix it ourselves when 'len = count'.
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|