From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UoBKx-0004pf-G1 for mharc-grub-devel@gnu.org; Sun, 16 Jun 2013 07:41:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoBKv-0004pN-9U for grub-devel@gnu.org; Sun, 16 Jun 2013 07:41:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoBKt-0004FF-Hg for grub-devel@gnu.org; Sun, 16 Jun 2013 07:41:33 -0400 Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:48617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoBKt-0004Ex-B8 for grub-devel@gnu.org; Sun, 16 Jun 2013 07:41:31 -0400 Received: by mail-ee0-f43.google.com with SMTP id l10so1207824eei.2 for ; Sun, 16 Jun 2013 04:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=+wqdPYZkire68qvCURR57VaezTKXZ1IgoP9JvTkFn/Q=; b=Z6YH14oWR9WTsv059mTY+pZR4ztEr2AAf472iBuWTSzqXGp8wque+fEwETUh0CqX8Q 1gPreVeCpycH+oD342edTUzg1vEXU6xrpVuxMocfDjFRUe1x2DhSMQNG1lkMtf+WjCyD xPKHtSWIuw4ZxvZl7wz31WjqD8lyYc6v3DSr5VQOY6NXBxSrI0WySaeY4qD07z8vFNRA wX4oVngXvDCY1qyaQlRhMHYJ/4D2qT4qqkn13gMlmZ11Aq/5Jg7q3h+3QNI0A6mrCcv0 if7SVOAoa3NAB1OxBPhKPcZsZXehwsvaMkdheSpt1TPwEa8BxDauRXK3l2udx+Fk/H82 QDPg== X-Received: by 10.14.251.73 with SMTP id a49mr11846165ees.45.1371382890561; Sun, 16 Jun 2013 04:41:30 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id y44sm16383377eel.10.2013.06.16.04.41.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Jun 2013 04:41:29 -0700 (PDT) Message-ID: <51BDA464.7090408@gmail.com> Date: Sun, 16 Jun 2013 13:41:24 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH] do not hardcode color in gfxterm References: <1371379506-30318-1-git-send-email-arvidjaar@gmail.com> In-Reply-To: <1371379506-30318-1-git-send-email-arvidjaar@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2NFAJNXBBCPQWKJHHAQKH" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22b X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 11:41:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2NFAJNXBBCPQWKJHHAQKH Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16.06.2013 12:45, Andrey Borzenkov wrote: > gfxterm was using hardcoded color on intialization. So first colors > were set in normal to white/black and then gfxterm was loaded and set > colors to light-gray/black. >=20 > Make sure gfxterm is using current colors during initialization. >=20 Go ahead. > Signed-off-by: Andrey Borzenkov >=20 > --- > ChangeLog | 5 +++++ > grub-core/term/gfxterm.c | 2 +- > 2 files changed, 6 insertions(+), 1 deletion(-) >=20 > diff --git a/ChangeLog b/ChangeLog > index e71a848..33de282 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,8 @@ > +2013-06-16 Andrey Borzenkov > + > + * grub-core/term/gfxterm.c (grub_virtual_screen_setup): Use > + grub_term_normal_color, do not hardcode GRUB_TERM_DEFAULT_NORMAL_COLO= R. > + > 2013-06-16 Vladimir Serbinenko > =20 > Fix casts when compiling coreboot-specific code for 64-bit EFI. > diff --git a/grub-core/term/gfxterm.c b/grub-core/term/gfxterm.c > index b1d0707..7e00678 100644 > --- a/grub-core/term/gfxterm.c > +++ b/grub-core/term/gfxterm.c > @@ -249,7 +249,7 @@ grub_virtual_screen_setup (unsigned int x, unsigned= int y, > =20 > virtual_screen.standard_color_setting =3D DEFAULT_STANDARD_COLOR; > =20 > - virtual_screen.term_color =3D GRUB_TERM_DEFAULT_NORMAL_COLOR; > + virtual_screen.term_color =3D grub_term_normal_color; > =20 > set_term_color (virtual_screen.term_color); > =20 >=20 ------enig2NFAJNXBBCPQWKJHHAQKH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlG9pGQACgkQNak7dOguQgmadQEAtpW6Jb/dEWCGmcoLEvEdcS2e fk07ofRgiaoVXiubj90BAJ7aBpxxjxJJBQayIaE9YjT5k+x3uDYZ6jE0+idZOPT3 =/VKZ -----END PGP SIGNATURE----- ------enig2NFAJNXBBCPQWKJHHAQKH--