[PATCH] Uninstaller: Use a define'd length instead of a magicnumber

Dmitry Timoshkov dmitry at codeweavers.com
Thu May 10 11:17:57 CDT 2007


"Tom Spear" <speeddymon at gmail.com> wrote:

> On 5/10/07, James Hawkins <truiken at gmail.com> wrote:
>> Yes, you should make a new define.  MAX_STRING_LEN is the maximum
>> length for a string from the resource file, which is totally unrelated
>> to the limit for the length of a subkey name.
> Should the new define be put in resource.h, main.c, or somewhere else entirely?

It depends in how much source files it actually used. If it's going to be
used only in 1 source file then put it in that file only.

> Check out this new 3D Instant Messenger called IMVU.  It's the best I
> have seen yet!

How much time it needs to be asked so that you stopped posting advertisements?
If you are participating on a developers list behave accordingly.

-- 
Dmitry.



More information about the wine-devel mailing list