summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/misc.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/MirandaG15/src/LCDFramework/misc.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/misc.h')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/misc.h b/plugins/MirandaG15/src/LCDFramework/misc.h
index c5f2bb4f06..0ff1a01668 100644
--- a/plugins/MirandaG15/src/LCDFramework/misc.h
+++ b/plugins/MirandaG15/src/LCDFramework/misc.h
@@ -52,7 +52,7 @@ inline std::string toNarrowString( const std::string& str )
}
inline std::tstring toTstring( const wchar_t* p , int len=-1 )
{
- return p == NULL?L"":((len < 0) ? p : std::wstring(p,len));
+ return p == nullptr ?L"":((len < 0) ? p : std::wstring(p,len));
}
extern tstring Utf8_Decode(const char *str);
@@ -75,7 +75,7 @@ inline std::string toNarrowString( const std::string& str )
}
inline std::tstring toTstring( const char* p , int len=-1 )
{
- if(p == NULL)
+ if(p == nullptr)
return "";
return (len < 0) ? p : std::string(p,len) ;
}