diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-17 13:05:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-17 13:05:17 +0000 |
commit | daca24d2779260042ee84229f0f476a03e2a5ca0 (patch) | |
tree | ce3a35484f2df74a7c673e704caa62e66e918841 /vcl | |
parent | 65b241eb0bc25597336a0b1b15af85c3428e40cf (diff) |
cppcheck: I wanted to check for 'e' and 'E' here for 'end'
Change-Id: Ie5a1da69c1282c518ec33835fefe723b0fdf3a40
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 61036a70bac1..18bb6703ad5e 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1911,7 +1911,7 @@ void VclBuilder::applyPackingProperty(Window *pCurrent, } else if (sKey == "pack-type") { - VclPackType ePackType = (sValue[0] == 'e' || sValue[0] == 'e') ? VCL_PACK_END : VCL_PACK_START; + VclPackType ePackType = (sValue[0] == 'e' || sValue[0] == 'E') ? VCL_PACK_END : VCL_PACK_START; pCurrent->set_pack_type(ePackType); } else if (sKey == "left-attach") |