diff options
author | Vincent Labrecque <vincent@cvs.openbsd.org> | 2003-11-29 17:28:41 +0000 |
---|---|---|
committer | Vincent Labrecque <vincent@cvs.openbsd.org> | 2003-11-29 17:28:41 +0000 |
commit | 4217f0a91228c93db9f3bc76f085106afee8e63d (patch) | |
tree | 8d1a42b12dba59907939521cf6e85d17644d6464 /usr.bin/mg/def.h | |
parent | f840511f6ee9eb5171023282b52f9e26f9304a76 (diff) |
save the previous undo position as an offset in the buffer instead of
a line/offset pair
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r-- | usr.bin/mg/def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index 44e0cd6d231..c4aff6a7945 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.52 2003/11/09 01:11:14 vincent Exp $ */ +/* $OpenBSD: def.h,v 1.53 2003/11/29 17:28:40 vincent Exp $ */ #include <sys/queue.h> @@ -202,7 +202,7 @@ typedef struct MGWIN { char w_force; /* If NZ, forcing row. */ char w_flag; /* Flags. */ LIST_HEAD(, undo_rec) w_undo; /* Undo actions list */ - REGION w_undopos; /* Where we were during the last + int w_undopos; /* Where we were during the last undo action */ struct undo_rec *w_undoptr; } MGWIN; |