]> git.karo-electronics.de Git - linux-beck.git/commitdiff
vt: Drop a no longer true comment.
authorAdam Borowski <kilobyte@angband.pl>
Thu, 15 Sep 2016 14:47:11 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:41:54 +0000 (11:41 +0200)
Some guy went on a patching spree, adding 24-bit colour support all around:
https://gist.github.com/XVilka/8346728

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c

index 52442ccf20c0a3514f8e060e00f05c759206261c..20d89c2a780a0acec6bc29e2cf98c3e26f8d3fe7 100644 (file)
@@ -1313,11 +1313,11 @@ static int vc_t416_color(struct vc_data *vc, int i,
                return i;
 
        if (vc->vc_par[i] == 5 && i + 1 <= vc->vc_npar) {
-               /* 256 colours -- ubiquitous */
+               /* 256 colours */
                i++;
                rgb_from_256(vc->vc_par[i], &c);
        } else if (vc->vc_par[i] == 2 && i + 3 <= vc->vc_npar) {
-               /* 24 bit -- extremely rare */
+               /* 24 bit */
                c.r = vc->vc_par[i + 1];
                c.g = vc->vc_par[i + 2];
                c.b = vc->vc_par[i + 3];