Compare commits

..

No commits in common. "a72fb08dc835ea6fb36279ade3a3a1fcafebbeb0" and "48e1b02e0e7ef1ec758a7ab1a3c08c34351d587a" have entirely different histories.

3 changed files with 3 additions and 17 deletions

View File

@ -1,14 +0,0 @@
package models
type Profile struct {
ProfileItems []string
Max int
}
func (p *Profile) InsertOrShift(index int, value string) {
if index < len(p.ProfileItems) {
p.ProfileItems = append(p.ProfileItems[:index], value)
} else {
p.ProfileItems = append(p.ProfileItems, value)
}
}

View File

@ -3,8 +3,8 @@ LOAD get_current_profile_info 0
RELOAD get_current_profile_info
MAP get_current_profile_info
MOUT back 0
HALT
LOAD save_familyname 64
HALT
RELOAD save_familyname
INCMP _ 0
CATCH pin_entry flag_familyname_set 1

View File

@ -2,10 +2,10 @@ CATCH update_firstname flag_allow_update 1
LOAD get_current_profile_info 0
RELOAD get_current_profile_info
MAP get_current_profile_info
LOAD save_firstname 128
MOUT back 0
HALT
INCMP _ 0
LOAD save_firstname 128
RELOAD save_firstname
INCMP _ 0
CATCH pin_entry flag_firstname_set 1
INCMP edit_family_name *