2011/9/5 Frédéric Delanoy frederic.delanoy@gmail.com:
- static WCHAR string[MAX_PATH];
Why make this static? It's only a temporary buffer and it's only used once, when building the cache.
Octavian
On Mon, Sep 5, 2011 at 06:47, Octavian Voicu octavian.voicu@gmail.com wrote:
2011/9/5 Frédéric Delanoy frederic.delanoy@gmail.com:
- static WCHAR string[MAX_PATH];
Why make this static? It's only a temporary buffer and it's only used once, when building the cache.
Yeah true. Bad copy-paste from old WCMD_goto, although making it non-static won't change much, save conserving some memory.
Will resubmit without the "static" part.
Frédéric