aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-11-13 20:35:06 -0500
committerDavid Robillard <d@drobilla.net>2015-11-13 20:35:06 -0500
commit914eb106c5373a133ddd7d497c005e4961292155 (patch)
treeb11e818f06c4a25d48132a338a0071518dba9dce /pugl/pugl_win.cpp
parent4aa6e38d9993281a21ab8552abc79f69e6f5265a (diff)
downloadpugl-914eb106c5373a133ddd7d497c005e4961292155.tar.gz
pugl-914eb106c5373a133ddd7d497c005e4961292155.tar.bz2
pugl-914eb106c5373a133ddd7d497c005e4961292155.zip
Fix minor style issues
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r--pugl/pugl_win.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index 6d4219f..1b303db 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -295,7 +295,7 @@ initMouseEvent(PuglEvent* event,
int button,
bool press,
LPARAM lParam)
- {
+{
POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
ClientToScreen(view->impl->hwnd, &pt);
@@ -340,7 +340,7 @@ utf16_to_code_point(const wchar_t* input, size_t input_size)
if ((code_unit & 0xFC00) == 0xD800) {
if (input_size < 2) {
// "Error: is surrogate but input_size too small"
- return 0xFFFD; // replacement character
+ return 0xFFFD; // replacement character
}
unsigned int code_unit_2 = *++input;
@@ -351,7 +351,7 @@ utf16_to_code_point(const wchar_t* input, size_t input_size)
// TODO: push_back(code_unit_2);
// "Error: Unpaired surrogates."
- return 0xFFFD; // replacement character
+ return 0xFFFD; // replacement character
}
return code_unit;
}