conan-recipes/recipes/breakpad/all/patches/0018-Fix-a-missing-r-in-crash_generation_app.patch

31 lines
1.1 KiB
Diff
Raw Permalink Normal View History

2020-10-19 08:52:36 +11:00
From 7b5f274d2029ae6bb63789ab026ac2e2eb3cdf77 Mon Sep 17 00:00:00 2001
From: Jon Turney <jon.turney@dronecode.org.uk>
Date: Wed, 19 Nov 2014 11:29:44 +0000
Subject: [PATCH 18/19] Fix a missing \r in crash_generation_app
Fix a missing \r in crash_generation_app
I thought this made a difference, but it doesn't seem to...
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
---
.../windows/tests/crash_generation_app/crash_generation_app.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
index 52736768..93457277 100644
--- a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
+++ b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
@@ -254,7 +254,7 @@ static void ShowClientCrashed(void* context,
line[0] = _T('\0');
result = swprintf_s(line,
kMaximumLineLength,
- L"%s\n",
+ L"%s\r\n",
str_line.c_str());
if (result == -1) {
delete[] line;
--
2.28.0