mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Fixes formatting in error.cpp (#102)
This commit is contained in:
committed by
Peter Johnson
parent
c3908660b1
commit
039515082a
@@ -68,8 +68,8 @@ void Error::Report() {
|
||||
#if defined(_WIN32)
|
||||
const int MAX_DIR = 100;
|
||||
char basename[MAX_DIR];
|
||||
_splitpath_s(m_filename.c_str(), nullptr, 0, basename, MAX_DIR, nullptr, 0, nullptr,
|
||||
0);
|
||||
_splitpath_s(m_filename.c_str(), nullptr, 0, basename, MAX_DIR, nullptr, 0,
|
||||
nullptr, 0);
|
||||
locStream << basename;
|
||||
#else
|
||||
locStream << basename(m_filename.c_str());
|
||||
|
||||
Reference in New Issue
Block a user