[haiku-commits] r39555 - haiku/trunk/src/add-ons/translators/webp

  • From: philippe.houdoin@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 21 Nov 2010 14:26:56 +0100 (CET)

Author: phoudoin
Date: 2010-11-21 14:26:55 +0100 (Sun, 21 Nov 2010)
New Revision: 39555
Changeset: http://dev.haiku-os.org/changeset/39555

Modified:
   haiku/trunk/src/add-ons/translators/webp/ConfigView.cpp
Log:
Fix locale variables names violating style policy.


Modified: haiku/trunk/src/add-ons/translators/webp/ConfigView.cpp
===================================================================
--- haiku/trunk/src/add-ons/translators/webp/ConfigView.cpp     2010-11-21 
09:15:01 UTC (rev 39554)
+++ haiku/trunk/src/add-ons/translators/webp/ConfigView.cpp     2010-11-21 
13:26:55 UTC (rev 39555)
@@ -24,37 +24,37 @@
 {
        SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
 
-       BStringView* fTitle = new BStringView("title", "WebP Images");
-       fTitle->SetFont(be_bold_font);
+       BStringView* title = new BStringView("title", "WebP Images");
+       title->SetFont(be_bold_font);
 
-       char version[256];
-       sprintf(version, "Version %d.%d.%d, %s",
+       char versionString[256];
+       sprintf(versionString, "Version %d.%d.%d, %s",
                int(B_TRANSLATION_MAJOR_VERSION(WEBP_TRANSLATOR_VERSION)),
                int(B_TRANSLATION_MINOR_VERSION(WEBP_TRANSLATOR_VERSION)),
                int(B_TRANSLATION_REVISION_VERSION(WEBP_TRANSLATOR_VERSION)),
                __DATE__);
-       BStringView* fVersion = new BStringView("version", version);
+       BStringView* version = new BStringView("version", versionString);
 
-       BStringView* fCopyright = new BStringView("copyright",
+       BStringView* copyright = new BStringView("copyright",
                B_UTF8_COPYRIGHT "2010 Haiku Inc.");
 
-       BStringView* fCopyright2 = new BStringView("copyright2",
+       BStringView* copyright2 = new BStringView("copyright2",
                "Based on libwebp v0.1");
 
-       BStringView* fCopyright3 = new BStringView("copyright3",
+       BStringView* copyright3 = new BStringView("copyright3",
                B_UTF8_COPYRIGHT "2010 Google Inc.");
 
        // Build the layout
        SetLayout(new BGroupLayout(B_HORIZONTAL));
 
        AddChild(BGroupLayoutBuilder(B_VERTICAL, 7)
-               .Add(fTitle)
+               .Add(title)
                .AddGlue()
-               .Add(fVersion)
-               .Add(fCopyright)
+               .Add(version)
+               .Add(copyright)
                .AddGlue()
-               .Add(fCopyright2)
-               .Add(fCopyright3)
+               .Add(copyright2)
+               .Add(copyright3)
                .AddGlue()
                .SetInsets(5, 5, 5, 5)
        );


Other related posts:

  • » [haiku-commits] r39555 - haiku/trunk/src/add-ons/translators/webp - philippe . houdoin