Bugzilla – Attachment 492605 Details for
Bug 715967
splashy crashes during hibernate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
patch for "Error -10" problem
splashy.patch (text/plain), 1.30 KB, created by
Andreas Bolsch
on 2012-05-27 12:48:49 UTC
(
hide
)
Description:
patch for "Error -10" problem
Filename:
MIME Type:
Creator:
Andreas Bolsch
Created:
2012-05-27 12:48:49 UTC
Size:
1.30 KB
patch
obsolete
>Index: src/splashy_video.c >=================================================================== >--- src/splashy_video.c.orig >+++ src/splashy_video.c >@@ -880,19 +880,21 @@ > > video.fontdesc.flags = DFDESC_HEIGHT; > >- fontface = g_build_filename (splashy_get_config_string (SPL_THEMES_DIR), splashy_get_config_string ("/splashy/textbox/text/font/file"), NULL); >+ fontface = g_build_filename (splashy_get_config_string (SPL_THEMES_DIR), >+ splashy_get_config_string (SPL_CURRENT_THEME), >+ splashy_get_config_string ("/splashy/textbox/text/font/file"), NULL); >+ if (access (fontface, R_OK) < 0) >+ { >+ ERROR_PRINT("Couldn't access font file '%s'\n", fontface); >+ return -1; >+ } >+ > temp = splashy_get_config_int ("/splashy/textbox/text/font/height", > 10); > > video.fontdesc.height = temp * screen_height / divider_height; > video.dfb->CreateFont (video.dfb, fontface, > &video.fontdesc, &video.font); >- /* we are in trouble, let's try to use any default font by >- * libdirectfb >- */ >- if (video.font == NULL) >- video.dfb->CreateFont (video.dfb, NULL, NULL, &video.font); >- > /* ouch */ > if (video.font == NULL) > return -1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 715967
:
463873
| 492605 |
492894