[haiku-commits] Re: haiku: hrev44402 - src/apps/powerstatus

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 31 Jul 2012 16:06:14 +0200

On 25.07.2012 00:49, fredrik@xxxxxxxxx wrote:
        if (archive->FindBool("show time", &value) == B_OK)
                fShowTime = value;
+       
+       //Incase we have a bad saving and none are showed..
+       if (!fShowLabel && !fShowStatusIcon)
+               fShowLabel = true;

Spelling/grammar/English: "Prevent showing nothing in case of corrupted settings".
Also, there comes a space after '//' before the text.

Bye,
   Axel.


Other related posts: