summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ARCodeAddEdit.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2014-03-10 09:24:09 +1300
committerMatthew Parlane <parlane@gmail.com>2014-03-10 09:24:09 +1300
commit633dc75e857d649ffab7c4398e92536bccc9e1de (patch)
treef9aa8831a0731ea246bd921d979f4bffa7f07bd0 /Source/Core/DolphinWX/ARCodeAddEdit.cpp
parentf4012638672472afdbd9956229f273a18a77fd77 (diff)
parentd802d392811be44d34ae9cd23f616db93e54c50f (diff)
Merge pull request #142 from Tilka/clang-modernize
Run clang-modernize and manually fix the result
Diffstat (limited to 'Source/Core/DolphinWX/ARCodeAddEdit.cpp')
-rw-r--r--Source/Core/DolphinWX/ARCodeAddEdit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/ARCodeAddEdit.cpp b/Source/Core/DolphinWX/ARCodeAddEdit.cpp
index 7825ec20ef..ec8934d5c9 100644
--- a/Source/Core/DolphinWX/ARCodeAddEdit.cpp
+++ b/Source/Core/DolphinWX/ARCodeAddEdit.cpp
@@ -112,8 +112,8 @@ void CARCodeAddEdit::SaveCheatData(wxCommandEvent& WXUNUSED (event))
if (pieces.size() == 2 && pieces[0].size() == 8 && pieces[1].size() == 8)
{
// Decrypted code line.
- u32 addr = strtoul(pieces[0].c_str(), NULL, 16);
- u32 value = strtoul(pieces[1].c_str(), NULL, 16);
+ u32 addr = strtoul(pieces[0].c_str(), nullptr, 16);
+ u32 value = strtoul(pieces[1].c_str(), nullptr, 16);
decryptedLines.push_back(ActionReplay::AREntry(addr, value));
continue;