Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
17 lines
288 B
C
17 lines
288 B
C
#include <u.h>
|
|
#include "x11-inc.h"
|
|
#include <libc.h>
|
|
#include <draw.h>
|
|
#include <memdraw.h>
|
|
#include "x11-memdraw.h"
|
|
|
|
int
|
|
loadmemimage(Memimage *i, Rectangle r, uchar *data, int ndata)
|
|
{
|
|
int n;
|
|
|
|
n = _loadmemimage(i, r, data, ndata);
|
|
if(n > 0 && i->X)
|
|
_xputxdata(i, r);
|
|
return n;
|
|
}
|