summaryrefslogtreecommitdiff
path: root/src/win95/awtexld.hpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-12-18 05:08:52 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit080430b3bda2bec05362119447d51b6c37f1cfc1 (patch)
treea4d2354ed94acb903f7f79a83e198398cb6eb757 /src/win95/awtexld.hpp
parent95b8b49b7602e4e2d3cd9e38273fa94451bec780 (diff)
Redid the most of the file loading/saving. Now uses $HOME/.avp/ and
$AVP_DIR to look for files.
Diffstat (limited to 'src/win95/awtexld.hpp')
-rw-r--r--src/win95/awtexld.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win95/awtexld.hpp b/src/win95/awtexld.hpp
index e41400c..e9c70fb 100644
--- a/src/win95/awtexld.hpp
+++ b/src/win95/awtexld.hpp
@@ -254,7 +254,7 @@ namespace AwTl {
case 4:
{
unsigned shift=0;
- unsigned val;
+ unsigned val=0;
--_dstRowP.byteP; // decrement here because we increment before the first write
for (unsigned colcount = _srcWidth; colcount; --colcount)
{
@@ -441,7 +441,7 @@ namespace AwTl {
class TypicalTexFileLoader : public TexFileLoader
{
protected:
- TypicalTexFileLoader() : m_pRowBuf(NULL), m_ppPixMap(NULL), m_pPalette(NULL) {}
+ TypicalTexFileLoader() : m_pPalette(NULL), m_ppPixMap(NULL), m_pRowBuf(NULL) {}
virtual ~TypicalTexFileLoader();