gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87e5ad8)
raw | patch | inline | side by side (parent: 87e5ad8)
author | Doni Pracner <donny@rarogl> | |
Fri, 25 Apr 2014 15:05:39 +0000 (17:05 +0200) | ||
committer | Doni Pracner <donny@rarogl> | |
Fri, 25 Apr 2014 15:21:32 +0000 (17:21 +0200) |
kodovi/polinomi/POLINOML.MOD | patch | blob | history |
index 1623cb8f60f5b5369d5e6cde3af162d0c8e49f5b..03dd95d68b1679c8722873f489f03a8f768ce3eb 100644 (file)
cilj^.k := k;\r
cilj^.st := st;\r
cilj^.veza := NIL;\r
- IF p = NIL THEN\r
- p := cilj;\r
- ELSIF prethodni = NIL THEN\r
- cilj^.veza := p^.veza;\r
+ IF prethodni = NIL THEN\r
+ (* ili je prazan polinom, ili dodajemo na pocetak *)\r
+ cilj^.veza := p;\r
p := cilj;\r
ELSE\r
cilj^.veza := prethodni^.veza;\r