mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 13:54:54 +02:00
Major reorganisation of screen handling.
This commit is contained in:
4
buffer.c
4
buffer.c
@ -1,4 +1,4 @@
|
||||
/* $Id: buffer.c,v 1.3 2007-11-27 19:23:33 nicm Exp $ */
|
||||
/* $Id: buffer.c,v 1.4 2007-12-06 09:46:21 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -215,7 +215,7 @@ uint16_t
|
||||
buffer_read16(struct buffer *b)
|
||||
{
|
||||
uint16_t n;
|
||||
|
||||
|
||||
n = BUFFER_OUT(b)[0] | (BUFFER_OUT(b)[1] << 8);
|
||||
buffer_remove(b, 2);
|
||||
return (n);
|
||||
|
Reference in New Issue
Block a user