terminology: Fix formatting
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
23045a08a7
commit
25ec6d06cb
|
@ -370,7 +370,6 @@ termio_scroll_set(Evas_Object *obj, int scroll)
|
|||
_smart_apply(obj);
|
||||
}
|
||||
|
||||
|
||||
const char *
|
||||
termio_title_get(Evas_Object *obj)
|
||||
{
|
||||
|
@ -625,7 +624,6 @@ termio_config_update(Evas_Object *obj)
|
|||
_smart_size(obj, ow / w, oh / h, EINA_TRUE);
|
||||
}
|
||||
|
||||
|
||||
Config *
|
||||
termio_config_get(const Evas_Object *obj)
|
||||
{
|
||||
|
|
|
@ -100,10 +100,11 @@ _alloc_new(int size, unsigned char gen)
|
|||
// get mmaped anonymous memory so when freed it goes away from the system
|
||||
ptr = (unsigned char*) mmap(NULL, sz, PROT_READ | PROT_WRITE,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
|
||||
if (ptr == MAP_FAILED) {
|
||||
if (ptr == MAP_FAILED)
|
||||
{
|
||||
ERR("Cannot allocate more memory with mmap MAP_ANONYMOUS");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
// note - we SHOULD memset to 0, but we are assuming mmap anon give 0 pages
|
||||
//memset(ptr, 0, newsize);
|
||||
|
|
Loading…
Reference in New Issue