gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9744: minor cleanups


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9744: minor cleanups
Date: Mon, 15 Sep 2008 13:26:04 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9744
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Mon 2008-09-15 13:26:04 +0200
message:
  minor cleanups
modified:
  libcore/edit_text_character.cpp
=== modified file 'libcore/edit_text_character.cpp'
--- a/libcore/edit_text_character.cpp   2008-09-03 15:23:20 +0000
+++ b/libcore/edit_text_character.cpp   2008-09-15 11:26:04 +0000
@@ -588,8 +588,6 @@
 
        registerTextVariable();
 
-       //rect def_bounds = m_def->get_bounds();
-       
        bool drawBorder = getDrawBorder();
        bool drawBackground = getDrawBackground();
 
@@ -1202,7 +1200,7 @@
        // nothing more to do if text is empty
        if ( _text.empty() ) return;
 
-       rect defBounds = m_def->get_bounds();
+       const rect& defBounds = m_def->get_bounds();
 
        AutoSizeValue autoSize = getAutoSize();
        if ( autoSize != autoSizeNone )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]