diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2008-08-20 06:04:57 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2008-08-20 06:04:57 +0000 |
commit | 5120e5e264ab76a0e62859df2445973dbb22f5ac (patch) | |
tree | be26a9cba12be124af4c471e38f1d879ecbb203d /unix/x0vncserver/Geometry.h | |
parent | e0fd2da47ef75ffb31308199f47c971cfd2c18c7 (diff) | |
download | tigervnc-5120e5e264ab76a0e62859df2445973dbb22f5ac.tar.gz tigervnc-5120e5e264ab76a0e62859df2445973dbb22f5ac.zip |
Geometry string parsing has been moved to a separate member function of the
Geometry class. Also, a memory leak has been fixed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2679 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver/Geometry.h')
-rw-r--r-- | unix/x0vncserver/Geometry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/x0vncserver/Geometry.h b/unix/x0vncserver/Geometry.h index fdd9033d..48ba2284 100644 --- a/unix/x0vncserver/Geometry.h +++ b/unix/x0vncserver/Geometry.h @@ -41,6 +41,8 @@ public: const Rect& getRect() const { return m_rect; } protected: + Rect parseString(const char *arg) const; + static StringParameter m_geometryParam; Rect m_rect; |