mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v2.9.1.1
This commit is contained in:
@@ -36,7 +36,7 @@ public abstract class Xop_tkn_itm_base implements Xop_tkn_itm {
|
||||
int subs_pos_ary_len = subs_pos_ary.length;
|
||||
if (pos_idx + 1 > subs_pos_ary_len) {
|
||||
int[] new_subs_pos_ary = new int[(pos_idx + 1) * 2];
|
||||
Array_.CopyTo(subs_pos_ary, 0, new_subs_pos_ary, 0, subs_pos_ary.length);
|
||||
Array_.Copy_to(subs_pos_ary, 0, new_subs_pos_ary, 0, subs_pos_ary.length);
|
||||
subs_pos_ary = new_subs_pos_ary;
|
||||
}
|
||||
subs_pos_ary[pos_idx] = bgn;
|
||||
@@ -56,7 +56,7 @@ public abstract class Xop_tkn_itm_base implements Xop_tkn_itm {
|
||||
if (new_len > subs_max) { // ary too small >>> expand
|
||||
subs_max = new_len * 2;
|
||||
Xop_tkn_itm[] new_subs = new Xop_tkn_itm[subs_max];
|
||||
Array_.CopyTo(subs, 0, new_subs, 0, subs_len);
|
||||
Array_.Copy_to(subs, 0, new_subs, 0, subs_len);
|
||||
subs = new_subs;
|
||||
}
|
||||
subs[subs_len] = sub;
|
||||
|
||||
@@ -71,6 +71,7 @@ public class Xop_tkn_mkr {
|
||||
public gplx.xowa.xtns.gallery.Gallery_xnde Xnde_gallery() {return new gplx.xowa.xtns.gallery.Gallery_xnde();}
|
||||
public gplx.xowa.xtns.imaps.Imap_xnde Xnde_imageMap() {return new gplx.xowa.xtns.imaps.Imap_xnde();}
|
||||
public gplx.xowa.xtns.hieros.Hiero_xnde Xnde_hiero() {return new gplx.xowa.xtns.hieros.Hiero_xnde();}
|
||||
public gplx.xowa.xtns.graphs.Graph_xnde Xnde_graph() {return new gplx.xowa.xtns.graphs.Graph_xnde();}
|
||||
public gplx.xowa.xtns.proofreadPage.Pp_pages_nde Xnde_pages() {return new gplx.xowa.xtns.proofreadPage.Pp_pages_nde();}
|
||||
public gplx.xowa.xtns.proofreadPage.Pp_pagelist_nde Xnde_pagelist() {return new gplx.xowa.xtns.proofreadPage.Pp_pagelist_nde();}
|
||||
public gplx.xowa.xtns.proofreadPage.Pp_pagequality_nde Xnde_pagequality() {return new gplx.xowa.xtns.proofreadPage.Pp_pagequality_nde();}
|
||||
|
||||
Reference in New Issue
Block a user