29 lines
725 B
Diff
29 lines
725 B
Diff
--- winico.ori/tkwinico.c 2014-10-25 04:55:46.706780200 +0200
|
||
+++ winico-0.6/tkwinico.c 2014-10-25 04:54:10.611777600 +0200
|
||
@@ -1048,6 +1048,13 @@
|
||
}
|
||
|
||
static int
|
||
+GetLong(long long theint, char *buffer)
|
||
+{
|
||
+ sprintf(buffer,"0x%I64x",theint);
|
||
+ return strlen(buffer);
|
||
+}
|
||
+
|
||
+static int
|
||
GetIntDec(long theint, char *buffer)
|
||
{
|
||
sprintf(buffer,"%d",theint);
|
||
@@ -1142,7 +1149,11 @@
|
||
}
|
||
case 'H': {
|
||
before++;
|
||
+#ifdef _WIN64
|
||
+ len = GetLong((long long)icoPtr->hwndFocus, buffer);
|
||
+#else
|
||
len = GetInt((long)icoPtr->hwndFocus, buffer);
|
||
+#endif
|
||
ptr = buffer;
|
||
break;
|
||
}
|