diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-11-25 09:42:33 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-11-25 09:42:33 +0000 |
commit | 0c3134999f21461b2cdc9f471e3f2e39bc73bd42 (patch) | |
tree | ac3736576d23957c52b8b82245c5fdb532d459f5 /vcl | |
parent | 7f99a38fe10dfcb7f4c568442eeb49dbfab6425e (diff) |
INTEGRATION: CWS valgrind01 (1.11.160); FILE MERGED
2003/09/26 12:27:54 hr 1.11.160.1: #i20184#: fix off by one error detected by valgrind
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/source/app/soicon.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/source/app/soicon.cxx b/vcl/unx/source/app/soicon.cxx index 78fd268e8de7..54d0fa22db4e 100644 --- a/vcl/unx/source/app/soicon.cxx +++ b/vcl/unx/source/app/soicon.cxx @@ -2,9 +2,9 @@ * * $RCSfile: soicon.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: kz $ $Date: 2003-11-18 14:43:35 $ + * last change: $Author: rt $ $Date: 2003-11-25 10:42:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -151,7 +151,7 @@ static void ConvertXpm( SalDisplay* pDisplay, char *xpm[], Pixmap& aPixmap, Pixm } } } - nColors = nColor+1; + nColors = nColor; aPixmap = XCreatePixmap( pDisplay->GetDisplay(), pDisplay->GetRootWindow(), |