Commit 06f8beac authored by Greg Kaiser's avatar Greg Kaiser
Browse files

find_java2: Fix array size calculation

GetModuleFileName() takes the maximum number of TCHARs we can
fit as the final argument, and thus we need to divide by
sizeof(TCHAR), instead of multiplying by it.

Test: Treehugger
Change-Id: Icbbb04c29955075e9341a0153dbd750cce8e884b
parent 1fc951b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment