~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UI changes for key imports. We now have a separate Load command and
[sgt/putty]
/
misc.c
diff --git
a/misc.c
b/misc.c
index
ee1abf7
..
6f2d544
100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-294,7
+294,7
@@
static void *minefield_alloc(int size)
/*
* Update the admin region.
*/
/*
* Update the admin region.
*/
- for (i = start + 2; i < start + npages
-
1; i++)
+ for (i = start + 2; i < start + npages
+
1; i++)
minefield_admin[i] = 0xFFFE; /* used but no region starts here */
minefield_admin[start + 1] = region_start % PAGESIZE;
minefield_admin[i] = 0xFFFE; /* used but no region starts here */
minefield_admin[start + 1] = region_start % PAGESIZE;