From 134255cd48a7b7ba0bfca718acf615f62e307585 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 7 Oct 2017 12:15:49 +0200 Subject: [PATCH] imageinfo-ni: fix crash on ARM_HARDWARE Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/7d0c3fca7b5f6c6fa99f41faba0923212d332094 Author: vanhofen Date: 2017-10-07 (Sat, 07 Oct 2017) Origin message was: ------------------ - imageinfo-ni: fix crash on ARM_HARDWARE --- src/gui/imageinfo_ni.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/imageinfo_ni.cpp b/src/gui/imageinfo_ni.cpp index a4e565d2e..6006f1856 100644 --- a/src/gui/imageinfo_ni.cpp +++ b/src/gui/imageinfo_ni.cpp @@ -341,7 +341,7 @@ void CImageInfoNI::paint() ypos += iheight; -#ifndef HAVE_GENERIC_HARDWARE +#if !HAVE_GENERIC_HARDWARE && !HAVE_ARM_HARDWARE get_MTD_Info(); //paint_MTD_Info(xpos); //ypos += sheight;