summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp
index d599220b69..9373977239 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDScreen.cpp
@@ -72,7 +72,7 @@ bool CLCDScreen::Update()
{
// Loop through all objects and call their update function
vector<CLCDObject*>::iterator iter = m_Objects.begin();
- CLCDObject *pObject = NULL;
+ CLCDObject *pObject = nullptr;
while(iter != m_Objects.end())
{
pObject = *(iter);
@@ -91,7 +91,7 @@ bool CLCDScreen::Draw(CLCDGfx *pGfx)
POINT ptPrevViewportOrg = { 0, 0 };
// Loop through all objects and call their draw function
vector<CLCDObject*>::iterator iter = m_Objects.begin();
- CLCDObject *pObject = NULL;
+ CLCDObject *pObject = nullptr;
while(iter != m_Objects.end())
{
pObject = *(iter);
@@ -126,13 +126,13 @@ bool CLCDScreen::Draw(CLCDGfx *pGfx)
iter++;
}
// set the clipping region to nothing
- SelectClipRgn(pGfx->GetHDC(), NULL);
+ SelectClipRgn(pGfx->GetHDC(), nullptr);
// restore the viewport origin
SetViewportOrgEx(pGfx->GetHDC(),
0,
0,
- NULL);
+ nullptr);
return true;
}