| 114 else if (isOneOf(destination.left(3), "48\\", "48/")) |
114 else if (isOneOf(destination.left(3), "48\\", "48/")) |
| 115 { |
115 { |
| 116 destination.remove(0, 3); |
116 destination.remove(0, 3); |
| 117 destination.prepend("p/48/"); |
117 destination.prepend("p/48/"); |
| 118 } |
118 } |
| |
119 else if (isOneOf(destination.left(2), "8\\", "8/")) |
| |
120 { |
| |
121 destination.remove(0, 2); |
| |
122 destination.prepend("p/8/"); |
| |
123 } |
| 119 |
124 |
| 120 /* Try determine where to put this part. We have four directories: |
125 /* Try determine where to put this part. We have four directories: |
| 121 * parts/, parts/s/, p/, and p/48/. If we haven't already specified |
126 * parts/, parts/s/, p/, and p/48/. If we haven't already specified |
| 122 * either parts/ or p/, we need to add it automatically. Part files |
127 * either parts/ or p/, we need to add it automatically. Part files |
| 123 * are numbers wit a possible u prefix for parts with unknown number |
128 * are numbers wit a possible u prefix for parts with unknown number |