gimp: Typo fixes.
This commit is contained in:
@@ -53,7 +53,7 @@ md5sums=('84c964aab7044489af69f7319bb59b47'
|
||||
'd1e19159164cac7b39578a6b0bb02cbb'
|
||||
'0df0c9c5f55012023894ed8b959c2fa9'
|
||||
'34aba5cb94d368627bf17eb5aedee556'
|
||||
'e2443c60ca1b896f96143e06bbcebd19')
|
||||
'0d5c523e91fbfbab43c2f12447ccfebc')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
if (p_SetDllDirectoryA)
|
||||
(*p_SetDllDirectoryA) ("");
|
||||
}
|
||||
+ /* Add yourself to system path */
|
||||
+ /* Add ourself to system path */
|
||||
+ {
|
||||
+ int result = 0;
|
||||
+ static char progpath[PATH_MAX] = {'\0'};
|
||||
+ char *path = getenv("PATH");
|
||||
+ result = GetModuleFileNameA(NULL, progpath, PATH_MAX);
|
||||
+ if (path) {
|
||||
+ /* Add path of executable/dll to system path. */
|
||||
+ /* Add path of executable to system path. */
|
||||
+ char *module_path = progpath;
|
||||
+ char *new_path = alloca(strlen("PATH=")+strlen(module_path)+1+strlen(path)+1);
|
||||
+ if (new_path) {
|
||||
|
||||
Reference in New Issue
Block a user