Skip to content
Permalink
Browse files

fix 67f7b3a

  • Loading branch information
jef-n committed Jul 20, 2017
1 parent 67f7b3a commit f78157be7dd0eef977df7168359ca600c1d9a88a
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/app/qgscrashdialog.cpp
  2. +2 −2 src/core/qgsstacktrace.cpp
@@ -66,7 +66,7 @@ QString QgsCrashDialog::htmlToMarkdown( const QString &html )
markdown.replace( "<br>", "\n" );
markdown.replace( "<b>", "*" );
markdown.replace( "</b>", "*" );
markdown.replace( "QGIS code revision: ", "QGIS code revision: commit:");
markdown.replace( "QGIS code revision: ", "QGIS code revision: commit:" );
return markdown;
}

@@ -54,10 +54,10 @@ QVector<QgsStackTrace::StackLine> QgsStackTrace::trace( _EXCEPTION_POINTERS *Exc
// StackWalk64() may modify context record passed to it, so we will
// use a copy.
CONTEXT context_record;
if (ExceptionInfo)
if ( ExceptionInfo )
context_record = *ExceptionInfo->ContextRecord;
else
RtlCaptureContext(&context_record);
RtlCaptureContext( &context_record );

// Initialize stack walking.
STACKFRAME64 stack_frame;

0 comments on commit f78157b

Please sign in to comment.
You can’t perform that action at this time.