Merge pull request #2367 from dawgfoto/fix10462

fix Issue 10462 - call through function pointer might trash EBX