~ubuntu-branches/ubuntu/vivid/unrar-nonfree/vivid

« back to all changes in this revision

Viewing changes to smallfn.cpp

  • Committer: Package Import Robot
  • Author(s): Martin Meredith
  • Date: 2015-02-03 12:58:01 UTC
  • mfrom: (1.1.18) (5.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20150203125801-od6ev8cqy1er51vz
Tags: 1:5.2.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
{
5
5
  if (N2<N1)
6
6
    return(100);
7
 
  return(ToPercentUnlim(N1,N2));
 
7
  return ToPercentUnlim(N1,N2);
8
8
}
9
9
 
10
10
 
13
13
{
14
14
  if (N2==0)
15
15
    return(0);
16
 
  return((int)(N1*100/N2));
 
16
  return (int)(N1*100/N2);
17
17
}
 
18
 
 
19