diff options
author | Forkk <forkk@forkk.net> | 2014-05-10 14:56:44 -0500 |
---|---|---|
committer | Forkk <forkk@forkk.net> | 2014-05-10 14:56:44 -0500 |
commit | aefa73ad111578d5c118bd05ee68bff1f2f2119b (patch) | |
tree | 02916dff6a67749790b07cf96c0572d3200891b2 | |
parent | 4f6cd65c13261bd3562a3adf5891ed4ee4c1cb59 (diff) | |
download | MultiMC-aefa73ad111578d5c118bd05ee68bff1f2f2119b.tar MultiMC-aefa73ad111578d5c118bd05ee68bff1f2f2119b.tar.gz MultiMC-aefa73ad111578d5c118bd05ee68bff1f2f2119b.tar.lz MultiMC-aefa73ad111578d5c118bd05ee68bff1f2f2119b.tar.xz MultiMC-aefa73ad111578d5c118bd05ee68bff1f2f2119b.zip |
Fix stupid tabs.
Thanks, QtCreator... ._.
-rw-r--r-- | WinBacktrace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WinBacktrace.cpp b/WinBacktrace.cpp index 2c9a3960..1ea079bf 100644 --- a/WinBacktrace.cpp +++ b/WinBacktrace.cpp @@ -38,7 +38,7 @@ size_t getBacktrace(StackFrame *stack, size_t size, CONTEXT ctx) // This tracks whether the current EBP is valid. // When an invalid EBP is encountered, we stop walking the stack. bool validEBP = true; - DWORD ebp = ctx.Ebp; // The current EBP (Extended Base Pointer) + DWORD ebp = ctx.Ebp; // The current EBP (Extended Base Pointer) DWORD eip = ctx.Eip; int i; for (i = 0; i < size; i++) @@ -57,7 +57,7 @@ size_t getBacktrace(StackFrame *stack, size_t size, CONTEXT ctx) BYTE* caller = !i ? (BYTE*)eip : *((BYTE**) ebp + 1); // The first ebp is the EBP from the CONTEXT. // On successive iterations, the EBP is the DWORD that the previous EBP points to. - ebp = !i ? ebp : *(DWORD*)ebp; + ebp = !i ? ebp : *(DWORD*)ebp; // Find the caller's module. // We'll use VirtualQuery to get information about the caller's address. |