[Scummvm-cvs-logs] SF.net SVN: scummvm:[45058] scummvm/trunk/engines/sci/gui/gui.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Oct 14 11:32:49 CEST 2009
Revision: 45058
http://scummvm.svn.sourceforge.net/scummvm/?rev=45058&view=rev
Author: thebluegr
Date: 2009-10-14 09:32:49 +0000 (Wed, 14 Oct 2009)
Log Message:
-----------
Proper variable naming
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui.cpp
Modified: scummvm/trunk/engines/sci/gui/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui.cpp 2009-10-14 09:28:58 UTC (rev 45057)
+++ scummvm/trunk/engines/sci/gui/gui.cpp 2009-10-14 09:32:49 UTC (rev 45058)
@@ -635,19 +635,19 @@
}
int16 SciGui::getCelWidth(int view, int loop, int cel) {
- SciGuiView *cursorView = new SciGuiView(_s->resMan, _screen, _palette, view);
- sciViewCelInfo *celInfo = cursorView->getCelInfo(loop, cel);
+ SciGuiView *tmpView = new SciGuiView(_s->resMan, _screen, _palette, view);
+ sciViewCelInfo *celInfo = tmpView->getCelInfo(loop, cel);
int16 width = celInfo->width;
- delete cursorView;
+ delete tmpView;
return width;
}
int16 SciGui::getCelHeight(int view, int loop, int cel) {
- SciGuiView *cursorView = new SciGuiView(_s->resMan, _screen, _palette, view);
- sciViewCelInfo *celInfo = cursorView->getCelInfo(loop, cel);
+ SciGuiView *tmpView = new SciGuiView(_s->resMan, _screen, _palette, view);
+ sciViewCelInfo *celInfo = tmpView->getCelInfo(loop, cel);
int16 height = celInfo->height;
- delete cursorView;
+ delete tmpView;
return height;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list