| 110 | } |
| 111 | |
| 112 | void NSISCALL SetUserVariableA(const int varnum, LPCSTR ansiStr) |
| 113 | { |
| 114 | if (ansiStr && isvalidnsisvarindex(varnum)) |
| 115 | { |
| 116 | LPWSTR wideStr = g_variables + varnum * g_stringsize; |
| 117 | MultiByteToWideChar(CP_ACP, 0, ansiStr, -1, wideStr, g_stringsize); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | #else |
| 122 | // ANSI defs |
nothing calls this directly
no outgoing calls
no test coverage detected