MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey-v1.0 / GetIconFile

Method GetIconFile

Source/script.cpp:10293–10307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10291}
10292
10293VarSizeType Script::GetIconFile(char *aBuf)
10294{
10295 if (!aBuf)
10296 return g_script.mCustomIconFile ? (VarSizeType)strlen(g_script.mCustomIconFile) : 0;
10297 if (g_script.mCustomIconFile)
10298 {
10299 strcpy(aBuf, g_script.mCustomIconFile);
10300 return (VarSizeType)strlen(aBuf);
10301 }
10302 else
10303 {
10304 *aBuf = '\0';
10305 return 0;
10306 }
10307}
10308
10309VarSizeType Script::GetIconNumber(char *aBuf)
10310{

Callers 1

GetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected