From aa6834fc3e239aada87256b684d62a1ccdcb9484 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Thu, 4 Feb 2016 19:11:20 +0900 Subject: [PATCH] [Native][UI Practice] Fix code snippets for entry component in wearable profile Change-Id: I3939ab3b3ef5de406e62d1673fa327a9104243bb Signed-off-by: Youngbok Shin --- org.tizen.ui.practices/html/native/efl/component_entry_wn.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.tizen.ui.practices/html/native/efl/component_entry_wn.htm b/org.tizen.ui.practices/html/native/efl/component_entry_wn.htm index 68c9911..3b3b44b 100644 --- a/org.tizen.ui.practices/html/native/efl/component_entry_wn.htm +++ b/org.tizen.ui.practices/html/native/efl/component_entry_wn.htm @@ -155,7 +155,7 @@ limit_size = // a text is inserted in the entry. Pass the previously created limit_size struct // to set the maximum number of characters allowed to 8 -elm_entry_markup_filter_append(entry, elm_entry_filter_limit_size, limit_size); +elm_entry_markup_filter_append(entry, elm_entry_filter_limit_size, &limit_size);
  • To define a list of accepted or rejected characters, append the filter with the Elm_Entry_Filter_Accept_Set structure. @@ -168,7 +168,7 @@ accept_set =    .rejected = "+*-/" }; -elm_entry_markup_filter_append(entry, elm_entry_filter_accept_set, accept_set); +elm_entry_markup_filter_append(entry, elm_entry_filter_accept_set, &accept_set);
  • -- 2.7.4