summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-12 01:13:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-12 01:13:09 +0300
commite2fd07d7991a411d88dca208869c41705a8ccf4e (patch)
treeea0fbda1bece0f10012facb24d8ce4fd352f5c64 /src
parent06c8a67e45b1544cd6146bbc718d616a6762eb18 (diff)
downloadmv-e2fd07d7991a411d88dca208869c41705a8ccf4e.tar.gz
mv-e2fd07d7991a411d88dca208869c41705a8ccf4e.tar.bz2
mv-e2fd07d7991a411d88dca208869c41705a8ccf4e.tar.xz
mv-e2fd07d7991a411d88dca208869c41705a8ccf4e.zip
Fix code style.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/questswindow.cpp1
-rw-r--r--src/utils/virtfsrwops.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 0ea451f1f..bf3b1c19a 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -85,6 +85,7 @@ QuestsWindow::QuestsWindow() :
mAllEffects(nullptr),
mNpcEffects(),
mQuestLinks(),
+ mQuestReverseLinks(),
mNewQuestEffectId(paths.getIntValue("newQuestEffectId")),
mCompleteQuestEffectId(paths.getIntValue("completeQuestEffectId")),
mMap(nullptr)
diff --git a/src/utils/virtfsrwops.cpp b/src/utils/virtfsrwops.cpp
index 3587af5fe..ade942385 100644
--- a/src/utils/virtfsrwops.cpp
+++ b/src/utils/virtfsrwops.cpp
@@ -215,7 +215,7 @@ static RWOPSINT virtfsrwops_seek(SDL_RWops *const rw,
} /* virtfsrwops_seek */
static RWOPSSIZE virtfsrwops_read(SDL_RWops *const rw,
- void *ptr,
+ void *const ptr,
const RWOPSSIZE size,
const RWOPSSIZE maxnum)
{
@@ -239,7 +239,7 @@ static RWOPSSIZE virtfsrwops_read(SDL_RWops *const rw,
} /* virtfsrwops_read */
static RWOPSSIZE virtfsrwops_write(SDL_RWops *const rw,
- const void *ptr,
+ const void *const ptr,
const RWOPSSIZE size,
const RWOPSSIZE num)
{