Rev 6724 | Rev 6795 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6724 | Rev 6728 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | if (alloc_size >= free_ram_size) { |
41 | if (alloc_size >= free_ram_size) { |
42 | sprintf(#error_str, |
42 | sprintf(#error_str, |
43 | "'DrawBufer needs more memory than currenly available. |
43 | "'DrawBufer needs more memory than currenly available. |
44 | Application could be unstable. |
44 | Application could be unstable. |
Line 45... | Line 45... | ||
45 | 45 | ||
46 | Requested size: %i Kb. |
46 | Requested size: %i Kb |
47 | Free RAM: %i Kb' -E", alloc_size/1024, free_ram_size/1024); |
47 | Free RAM: %i Kb' -E", alloc_size/1024, free_ram_size/1024); |
48 | notify(#error_str); |
48 | notify(#error_str); |
49 | } |
49 | } |
50 | buf_data = malloc(alloc_size); |
50 | buf_data = malloc(alloc_size); |