commit 7c6ea33
Michael Forney
·
2013-07-13 05:45:17 +0000 UTC
parent 6dfd3cd
Remove some extraneous debug statements
2 files changed,
+2,
-4
M
font.c
M
font.c
+2,
-2
1@@ -36,7 +36,7 @@ struct wld_font_context * wld_font_create_context()
2
3 if (FT_Init_FreeType(&context->library) != 0)
4 {
5- printf("failed to initialize ft library\n");
6+ DEBUG("Failed to initialize FreeType library\n");
7
8 goto error1;
9 }
10@@ -55,7 +55,7 @@ struct wld_font * wld_font_open_name(struct wld_font_context * context,
11 FcPattern * pattern, * match;
12 FcResult result;
13
14- printf("name: %s\n", name);
15+ DEBUG("Opening font with name: %s\n", name);
16
17 pattern = FcNameParse((const FcChar8 *) name);
18 FcConfigSubstitute(NULL, pattern, FcMatchPattern);
+0,
-2
1@@ -97,14 +97,12 @@ static const struct wld_drm_interface * find_drm_interface(int fd)
2 path_part = path + strlen(path);
3
4 strcpy(path_part, "device/vendor");
5- puts(path);
6 file = fopen(path, "r");
7 fgets(id, sizeof id, file);
8 fclose(file);
9 vendor_id = strtoul(id, NULL, 0);
10
11 strcpy(path_part, "device/device");
12- puts(path);
13 file = fopen(path, "r");
14 fgets(id, sizeof id, file);
15 fclose(file);