From 181a0bb3720f615b9ef68235df4f50f396c31869 Mon Sep 17 00:00:00 2001 From: Johns Date: Mon, 5 Mar 2012 20:10:23 +0100 Subject: Move grab unsupported warning to low-level. --- video.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'video.c') diff --git a/video.c b/video.c index ef1b70d..a6a90b2 100644 --- a/video.c +++ b/video.c @@ -8859,8 +8859,12 @@ uint8_t *VideoGrab(int *size, int *width, int *height, int write_header) free(data); return rgb; - } + } else #endif + { + Warning(_("softhddev: grab unsupported\n")); + } + (void)size; (void)width; (void)height; -- cgit v1.2.3