Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
This commit is contained in:
parent
f4f0679a2d
commit
c5df0cb82b
144 changed files with 4519 additions and 4519 deletions
|
|
@ -487,19 +487,19 @@ Error EditorExportPlatformLinuxBSD::run(const Ref<EditorExportPreset> &p_preset,
|
|||
|
||||
const String basepath = dest.path_join("tmp_linuxbsd_export");
|
||||
|
||||
#define CLEANUP_AND_RETURN(m_err) \
|
||||
{ \
|
||||
if (da->file_exists(basepath + ".zip")) { \
|
||||
da->remove(basepath + ".zip"); \
|
||||
} \
|
||||
#define CLEANUP_AND_RETURN(m_err) \
|
||||
{ \
|
||||
if (da->file_exists(basepath + ".zip")) { \
|
||||
da->remove(basepath + ".zip"); \
|
||||
} \
|
||||
if (da->file_exists(basepath + "_start.sh")) { \
|
||||
da->remove(basepath + "_start.sh"); \
|
||||
} \
|
||||
da->remove(basepath + "_start.sh"); \
|
||||
} \
|
||||
if (da->file_exists(basepath + "_clean.sh")) { \
|
||||
da->remove(basepath + "_clean.sh"); \
|
||||
} \
|
||||
return m_err; \
|
||||
} \
|
||||
da->remove(basepath + "_clean.sh"); \
|
||||
} \
|
||||
return m_err; \
|
||||
} \
|
||||
((void)0)
|
||||
|
||||
if (ep.step(TTR("Exporting project..."), 1)) {
|
||||
|
|
|
|||
|
|
@ -57,11 +57,11 @@
|
|||
// Gotta flush as we're doing this mess from a thread without any
|
||||
// synchronization. It's awful, I know, but the `print_*` utilities hang for
|
||||
// some reason during editor startup and I need some quick and dirty debugging.
|
||||
#define DEBUG_LOG_WAYLAND_EMBED(...) \
|
||||
if (1) { \
|
||||
#define DEBUG_LOG_WAYLAND_EMBED(...) \
|
||||
if (1) { \
|
||||
printf("[PROXY] %s\n", vformat(__VA_ARGS__).utf8().ptr()); \
|
||||
fflush(stdout); \
|
||||
} else \
|
||||
fflush(stdout); \
|
||||
} else \
|
||||
((void)0)
|
||||
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue