Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-11-16 03:59:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-16 07:19:30 +0300
commit24d2e462962434468eca5b61ba6a8af47440a122 (patch)
tree36ca40b3791c9e43bcbd11e16469a2407fe0ecdc /source/blender/blenlib/intern/winstuff.c
parent21195a9ea4b0c570224a517d78db2fcd36fa3d41 (diff)
Add missing newlines for debug prints
Diffstat (limited to 'source/blender/blenlib/intern/winstuff.c')
-rw-r--r--source/blender/blenlib/intern/winstuff.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c
index 32ab16b4b5a..3b06b7df09a 100644
--- a/source/blender/blenlib/intern/winstuff.c
+++ b/source/blender/blenlib/intern/winstuff.c
@@ -198,7 +198,8 @@ void get_default_root(char *root)
/* if GetWindowsDirectory fails, something has probably gone wrong,
* we are trying the blender install dir though */
if (GetModuleFileName(NULL, str, MAX_PATH + 1)) {
- printf("Error! Could not get the Windows Directory - Defaulting to Blender installation Dir!");
+ printf("Error! Could not get the Windows Directory - "
+ "Defaulting to Blender installation Dir!\n");
root[0] = str[0];
root[1] = ':';
root[2] = '\\';
@@ -209,7 +210,8 @@ void get_default_root(char *root)
int i;
int rc = 0;
/* now something has gone really wrong - still trying our best guess */
- printf("Error! Could not get the Windows Directory - Defaulting to first valid drive! Path might be invalid!");
+ printf("Error! Could not get the Windows Directory - "
+ "Defaulting to first valid drive! Path might be invalid!\n");
tmp = GetLogicalDrives();
for (i = 2; i < 26; i++) {
if ((tmp >> i) & 1) {
@@ -224,7 +226,7 @@ void get_default_root(char *root)
}
}
if (0 == rc) {
- printf("ERROR in 'get_default_root': can't find a valid drive!");
+ printf("ERROR in 'get_default_root': can't find a valid drive!\n");
root[0] = 'C';
root[1] = ':';
root[2] = '\\';