Mercurial > hg > xemacs-beta
comparison src/console-msw.c @ 5921:68639fb08af8 cygwin
no obvious 64 vs. 32 pblms in compilation, but still crashing in event-msw
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Wed, 23 Apr 2014 22:22:37 +0100 |
parents | 56144c8593a8 |
children |
comparison
equal
deleted
inserted
replaced
5920:0f2338afbabf | 5921:68639fb08af8 |
---|---|
111 while (numchars >= size - 1); | 111 while (numchars >= size - 1); |
112 } | 112 } |
113 | 113 |
114 /* format a "unique" new title */ | 114 /* format a "unique" new title */ |
115 | 115 |
116 sprintf (newtitle, "%ld/%ld", GetTickCount (), GetCurrentProcessId ()); | 116 sprintf (newtitle, "%ld/%ld", (long)GetTickCount (), (long)GetCurrentProcessId ()); |
117 | 117 |
118 /* change current window title; we may be called during armageddon | 118 /* change current window title; we may be called during armageddon |
119 so don't do any conversion */ | 119 so don't do any conversion */ |
120 | 120 |
121 SetConsoleTitleA (newtitle); | 121 SetConsoleTitleA (newtitle); |