[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/dcop
From: Jakub Stachowski <qbast () go2 ! pl>
Date: 2006-01-15 17:52:59
Message-ID: 1137347579.254952.7436.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 498532 by qbast:
qsnprintf does not work on empty array
M +2 -2 dcopobject.cpp
--- trunk/KDE/kdelibs/dcop/dcopobject.cpp #498531:498532
@@ -49,7 +49,7 @@
DCOPObject::DCOPObject() : d(new Private)
{
- qsnprintf(ident.data(), ident.size(), "%p", this );
+ ident=QString().sprintf("%p",this).toAscii();
objMap()->insert(ident, this );
}
@@ -74,7 +74,7 @@
: ident(_objId), d(new Private)
{
if ( ident.isEmpty() )
- qsnprintf(ident.data(), ident.size(), "%p", this );
+ ident=QString().sprintf("%p",this).toAscii();
objMap()->insert(ident, this);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic