Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Comment correct in common_functions.script?

(1/1)

ollydbg:
In trunk\src\plugins\scriptedwizard\resources\common_functions.script


--- Code: ---function VerifyMacro(macro)
{
    // try to make it a real path and verify it's existence
    local dir = ReplaceMacros(macro, true);

    // verify if there are macros used at all...
    if (macro.Matches(dir))
    {
        return (_T("")); // no macros used -> return empty
    }

    return dir;
}

--- End code ---
I think "try to make it a real path and verify it's existence" is not correct, this function just try to expand macro, than compare whether the original string and the expanded string are the same. This means it try to see whether a string have macro usages in it.

Navigation

[0] Message Index

Go to full version